Open originalfoo opened 8 years ago
Custom renderer for heading tags will add anchors to all headings in rendered markdown content. Anchors are slug-like representations of the heading text, same format as GFM.
Code from https://github.com/chjj/marked#overriding-renderer-methods (MIT license)
Might need some CSS tweaks but just wanted to see if the code change was acceptable first.
Custom renderer for heading tags will add anchors to all headings in rendered markdown content. Anchors are slug-like representations of the heading text, same format as GFM.
Code from https://github.com/chjj/marked#overriding-renderer-methods (MIT license)
Might need some CSS tweaks but just wanted to see if the code change was acceptable first.