I figured this had been asked by now, but I guess not, or maybe I didn't find it when I was searching.
I commonly want to provide anchor links in answers (esp. when creating footnotes), but SO flavored Markdown has a whitelist of allowed tags and that's never supported the name
attribute of the a
tag before, so I've been unable to use #name
to directly link to a footnote.
The switch to CommonMark obviously means a pretty significant change in the Markdown rendering engine, so will the current whitelist of pure HTML remain as it is or will things be changing around with that and if they're changing, will this restriction be relaxed?
Similar questions have definitely been asked in the past (e.g. Allow linking to named anchors and Support anchor names in posts) but none since the switch.
names
is definitely real, although it'd be worth seeing how much of an issue it actually is in practice. I'm not so much asking about the named anchors in done in Markdown, since that seems to be a huge can of worms, but rather named anchors as done in raw HTML (i.e. as<a name=...>...</a>
).349076-some-special-section
).