ikiwiki/doc/plugins/headinganchors.mdwn

8 lines
330 B
Markdown

[[!template id=plugin name=headinganchors author="[[PaulWise]]"]]
[[!tag type/html]]
This is a simple plugin to add ids (which will serve as [[anchor]]s) to all
headings (h1, h2, etc), based on their text. It works as a postprocessing
filter, allowing it to work on mdwn, wiki, html, rst and any other format that
produces html.