ikiwiki/doc/plugins/txt.mdwn

20 lines
736 B
Plaintext
Raw Normal View History

[[!template id=plugin name=txt author="[[Gabriel]]"]]
[[!tag type/format]]
This plugin makes ikiwiki treat files with names ending in ".txt"
as wiki pages.
Unlike other [[type/format]] plugins, no formatting of markup in
2011-06-14 13:04:28 +02:00
txt files is done; the file contents is displayed to the user as
pre-formatted text, with html markup characters such as ">" escaped.
2009-06-05 19:55:48 +02:00
The only exceptions are that [[WikiLinks|ikiwiki/WikiLink]] and
2008-09-12 01:36:35 +02:00
[[directives|ikiwiki/directive]] are still expanded by
ikiwiki, and that, if the [[!cpan URI::Find]] perl module is installed, URLs
in the txt file are converted to hyperlinks.
----
As a special case, a file `robots.txt` will be copied intact into the
`destdir`, as well as creating a wiki page named "robots".