diff --git a/obsidian-markdown/SKILL.md b/obsidian-markdown/SKILL.md index 29263f8..cf04800 100644 --- a/obsidian-markdown/SKILL.md +++ b/obsidian-markdown/SKILL.md @@ -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. - 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). ## File names and headings