allejo / jekyll-anchor-headings

A GitHub Pages compatible way of adding anchors to your headings without a plug-in or JavaScript :octocat:
https://pure-liquid.allejo.org/
MIT License
186 stars 31 forks source link

Add support to generate ids for headers that do not have them #32

Closed garazdawi closed 3 years ago

garazdawi commented 3 years ago

As commonmark does not generate ids for its headers see,

https://github.com/github/cmark-gfm/issues/186

we need the possibility to generate them when creating anchor headings.

See #1 for a bit more detail of why this is not always wanted.

allejo commented 3 years ago

Tagged v1.0.10 :tada: Thank you for the PR!