diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-02-10 23:00:30 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-02-10 23:00:30 -0500 |
commit | 800a1b3271423053a427f2b25bebce65d155efe2 (patch) | |
tree | 1a49424bf9cf999e1f451daf6c3e6286fccab87d /doc/plugins | |
parent | b29add934ba7a5f31e4d50821c7dbdd02d020455 (diff) | |
download | ikiwiki-800a1b3271423053a427f2b25bebce65d155efe2.tar ikiwiki-800a1b3271423053a427f2b25bebce65d155efe2.tar.gz |
add templates
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/contrib/headinganchors.mdwn | 6 | ||||
-rw-r--r-- | doc/plugins/contrib/siterel2pagerel.mdwn | 7 |
2 files changed, 11 insertions, 2 deletions
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 |