]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/headinganchors.mdwn
move headinganchors out of contrib
[ikiwiki.git] / doc / plugins / headinganchors.mdwn
diff --git a/doc/plugins/headinganchors.mdwn b/doc/plugins/headinganchors.mdwn
new file mode 100644 (file)
index 0000000..f087abd
--- /dev/null
@@ -0,0 +1,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.