summaryrefslogtreecommitdiff
path: root/doc/plugins/contrib/plaintext.mdwn
blob: 0350bc3ca7419abfe295d68ec0ae3a4663b26f78 (plain)

[[template id=plugin name=plaintext author="[[JeremieKoenig]]"]] [[tag type/format]]

I was surprised that no plugin seems to be available to render plaintext pages; as I need one to implement the "[[todo/preview_changes]]" todo item, I quickly wrote it. Maybe this can be included in ikiwiki?

This plugins uses HTML::Entities::encode_entities() on the page's content and wraps it in a <pre>...</pre> tag.

Download from here.

Problems

Wikilinks are expanded as usual, and as such produce <a href=...>text</a> tags, which are displayed as plain text. Is there a way to disable the preprocessor for some types of pages?