aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/headinganchors.mdwn
blob: f087abdf99ad2133ec61e57b658ae3ae6994853b (plain)
1
2
3
4
5
6
7
[[!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.