larstvei / ox-gfm

Github Flavored Markdown Back-End for Org Export Engine
230 stars 44 forks source link

[WIP] Use stable anchors in table of contents. #37

Closed xorgy closed 2 years ago

xorgy commented 5 years ago

Github-flavoured markdown renderers automatically add anchors to headings, this removes the org-generated ones (which change every time you export) in favour of the standard.

xorgy commented 5 years ago

FSF copyright because org-gfm-headline is derived from org-md-headline.

xorgy commented 5 years ago

Doesn't handle duplicates yet.

xorgy commented 5 years ago

issue: Doesn't handle headlines with sequence tokens in them, because GFM renderers (obviously) include those in the anchor.

xorgy commented 5 years ago

I'll take a look at the stuff you brought up, thanks.

benley commented 5 years ago

Any news here? I'm looking forward to using this feature :-)