ikiwiki/doc/plugins/headinganchors.mdwn

8 lines
330 B
Plaintext
Raw Normal View History

2011-06-21 21:12:02 +02:00
[[!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.