jdpage / w.pl

A small wiki
0 stars 1 forks source link

Add support for inline anchor targets #9

Closed jdpage closed 8 years ago

jdpage commented 8 years ago

Add support for inline anchor targets which can be linked to.

woodrowbarlow commented 8 years ago

isn't this already supported? it seemed to work in the sandbox.

== First Section

has a paragraph and a link to the [[#second_section|Second Section]]

== Second Section

has more content.
jdpage commented 8 years ago

Anchor targets. Like, text that can be linked to, like the headers are.

woodrowbarlow commented 8 years ago

ohhhhhhhhh.

jdpage commented 8 years ago

Moving this to Benzene. Dunno why I put it in Aromatic.

woodrowbarlow commented 8 years ago

if these would all be tied to links anyway, why not just add unique html id attributes to each link (or perhaps only to internal links) like you do with the headings?

jdpage commented 8 years ago

TBH I'm rethinking this. I think there are certain features that should automatically get fragments (like quote blocks, code blocks, comments, headings, lists, footnotes, manicules) but the ability to place arbitrary anchors seems gratuitous.