From a83a5e62dbb567480a7e5e006ca1dd2ee4f1c913 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Fri, 27 Nov 2026 00:38:40 -0600 Subject: [PATCH] obsidian-markdown: heading links use the heading text, not GitHub's slug Generated-by: Claude Opus 5.5 --- obsidian-markdown/SKILL.md | 1 + 1 file changed, 1 insertion(+) 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