Kyle Davis on Nostr: Linking to autogen IDs from Markdown headers is a link rot disaster. Don't do it. ...
Linking to autogen IDs from Markdown headers is a link rot disaster. Don't do it.
E.g. `# My heading` changed to `# My awesome heading` on foo.md also changes the ID, so someone linking to `foo.md#my-heading` is screwed.
Published at
2024-05-29 17:55:13Event JSON
{
"id": "cc519f93a758d0a54647d86da56d9cd711c2876a4b73d493302d723a298400a1",
"pubkey": "5f2dac217c35680cbce574baa0ae609373a356ef1de1ab2ed0a920abb9db3fff",
"created_at": 1716998113,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/@linux_mclinuxface/112525188342711536",
"web"
],
[
"proxy",
"https://fosstodon.org/users/linux_mclinuxface/statuses/112525188342711536",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/linux_mclinuxface/statuses/112525188342711536",
"pink.momostr"
]
],
"content": "Linking to autogen IDs from Markdown headers is a link rot disaster. Don't do it.\n\nE.g. `# My heading` changed to `# My awesome heading` on foo.md also changes the ID, so someone linking to `foo.md#my-heading` is screwed.",
"sig": "52de7ecf89ee9209659c0c7dc92e1e45ebb881d6ad1222c20016965059ad82de64a152b962b66696c3e570dc87492e15afe2902cb1c179b1b23a825f3dc09bb9"
}