]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/plugins/contrib/plaintext.mdwn
web commit by http://jeremie.koenig.myopenid.com/: disable the preprocessor for some...
[git.ikiwiki.info.git] / doc / plugins / contrib / plaintext.mdwn
1 [[template id=plugin name=plaintext author="[[JeremieKoenig]]"]]
2 [[tag type/format]]
4 I was surprised that no plugin seems to be available to render plaintext pages;
5 as I need one to implement the "[[todo/preview_changes]]" todo item,
6 I quickly wrote it. Maybe this can be included in ikiwiki?
8 This plugins uses HTML::Entities::encode_entities() on the page's content
9 and wraps it in a `<pre>`...`</pre>` tag.
11 Download from [here](http://www.jk.fr.eu.org/ikiwiki/plaintext.pm).
13 ## Problems
15 Wikilinks are expanded as usual, and as such produce `<a href=...>text</a>`
16 tags, which are displayed as plain text. Is there a way to disable the preprocessor
17 for some types of pages?