obsidian-markdown: heading links use the heading text, not GitHub's slug
Generated-by: Claude Opus 5.5
This commit is contained in:
1 parent
391d9383d1
commit
a83a5e62db
1 file changed
+1
@@ -19,6 +19,7 @@ When you rewrite a wrapped paragraph, unwrap it. Don't unwrap a whole file you a
|
|||||||
|
|
||||||
- Standard markdown links with relative paths: `[the webkeys pattern](docs/webkeys.md)`. Obsidian follows them, and GitHub renders them. `[[wikilinks]]` render only in Obsidian.
|
- Standard markdown links with relative paths: `[the webkeys pattern](docs/webkeys.md)`. Obsidian follows them, and GitHub renders them. `[[wikilinks]]` render only in Obsidian.
|
||||||
- No spaces in file names, so links need no `%20`.
|
- No spaces in file names, so links need no `%20`.
|
||||||
|
- Links to a heading, as in a TOC: Obsidian matches the fragment against the heading text, not GitHub's slug, so `#the-coffee-table-box` finds nothing. Write the heading text with spaces as `%20`: `[The coffee-table box](#The%20coffee-table%20box)`. Keep colons, `#`, `|`, `^`, and brackets out of headings you link to. GitHub won't follow these links; Obsidian is the reader that counts.
|
||||||
- Link text says where the link goes (see hypertext-links).
|
- Link text says where the link goes (see hypertext-links).
|
||||||
|
|
||||||
## File names and headings
|
## File names and headings
|
||||||
|
|||||||
Reference in new issue
Block a user