From 886890b82d727385f5bb167ef7684288e98a5218 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 21 Jun 2011 15:12:02 -0400 Subject: move headinganchors out of contrib --- doc/plugins/headinganchors.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/plugins/headinganchors.mdwn (limited to 'doc/plugins/headinganchors.mdwn') 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. -- cgit v1.2.3