2008-07-21 13:31:57 +02:00
|
|
|
[[!template id=plugin name=txt author="[[Gabriel]]"]]
|
|
|
|
[[!tag type/format]]
|
2008-06-25 02:48:45 +02:00
|
|
|
|
|
|
|
This plugin makes ikiwiki treat files with names ending in ".txt"
|
|
|
|
as wiki pages.
|
|
|
|
|
|
|
|
Unlike other [[type/format]] plugins, no formatting of markup in
|
|
|
|
txt files is done; the file contents is displayed to the user as-is,
|
|
|
|
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
|
2008-07-21 13:31:57 +02:00
|
|
|
ikiwiki, and that, if the [[!cpan URI::Find]] perl module is installed, URLs
|
2008-06-25 02:48:45 +02:00
|
|
|
in the txt file are converted to hyperlinks.
|
2010-04-05 23:02:10 +02:00
|
|
|
|
|
|
|
----
|
|
|
|
|
|
|
|
As a special case, a file `robots.txt` will be copied intact into the
|
|
|
|
`destdir`, as well as creating a wiki page named "robots".
|