aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/headinganchors.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/plugins/headinganchors.mdwn')
-rw-r--r--doc/plugins/headinganchors.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/plugins/headinganchors.mdwn b/doc/plugins/headinganchors.mdwn
new file mode 100644
index 000000000..f087abdf9
--- /dev/null
+++ b/doc/plugins/headinganchors.mdwn
@@ -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.