From 800a1b3271423053a427f2b25bebce65d155efe2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 10 Feb 2008 23:00:30 -0500 Subject: add templates --- doc/plugins/contrib/headinganchors.mdwn | 6 +++++- doc/plugins/contrib/siterel2pagerel.mdwn | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'doc/plugins/contrib') diff --git a/doc/plugins/contrib/headinganchors.mdwn b/doc/plugins/contrib/headinganchors.mdwn index bfc5dbcf4..287afa0f5 100644 --- a/doc/plugins/contrib/headinganchors.mdwn +++ b/doc/plugins/contrib/headinganchors.mdwn @@ -1,4 +1,8 @@ -This is a simple plugin to add ids to all headings, 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. The code is available here: +[[template id=plugin name=headinganchors author="[[PaulWise]]"]] + +This is a simple plugin to add ids to all headings, 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. The code is available here: #!/usr/bin/perl # quick HTML heading id adder by Paul Wise diff --git a/doc/plugins/contrib/siterel2pagerel.mdwn b/doc/plugins/contrib/siterel2pagerel.mdwn index 7bdeea965..06c9bbc29 100644 --- a/doc/plugins/contrib/siterel2pagerel.mdwn +++ b/doc/plugins/contrib/siterel2pagerel.mdwn @@ -1,4 +1,9 @@ -This is a simple plugin to convert all site-relative links to page-relative links (converts /foo into ../../../foo or similar). It works as a postprocessing filter, allowing it to work on mdwn, wiki, html, rst and any other format that produces html. The code is available here: +[[template id=plugin name=siterel2pagerel author="[[PaulWise]]"]] + +This is a simple plugin to convert all site-relative links to page-relative +links (converts /foo into ../../../foo or similar). It works as a +postprocessing filter, allowing it to work on mdwn, wiki, html, rst and any +other format that produces html. The code is available here: #!/usr/bin/perl # quick HTML siterel2pagerel link hack by Paul Wise -- cgit v1.2.3