mathdown icon indicating copy to clipboard operation
mathdown copied to clipboard

In-document anchors

Open cben opened this issue 11 years ago • 2 comments

Decode #foo in URL and scroll to # Foo heading inside document. (Doable with pure id="foo" on line DOM? Unlikely if CodeMirror handles scrolling.)

Make # in headings clickable and result in such permalink.

cben avatar Sep 01 '13 23:09 cben

Also, for documents starting with a title, maintain URL synced to text of title. That way most doc URLs will be of self-describing xyz#readable-title form.

cben avatar Sep 02 '13 02:09 cben

Implemented

and url sync (from first line) in 9cbd175b68f96428e82b368f38559619dc74a9db. Should carefully verify markdown slug compatibility.

cben avatar Feb 12 '14 01:02 cben