X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/3cb1c8fa3b1fac58f8a84deef9b72b334c17c97a..5f4945d40f1fe6a6b7782b9444e85f139a1d9fbd:/doc/plugins/txt.mdwn diff --git a/doc/plugins/txt.mdwn b/doc/plugins/txt.mdwn index 1b7e7821b..a51aabf48 100644 --- a/doc/plugins/txt.mdwn +++ b/doc/plugins/txt.mdwn @@ -5,10 +5,15 @@ 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. +txt files is done; the file contents is displayed to the user as +pre-formatted text, with html markup characters such as ">" escaped. -The only exceptions are that [[WikiLinks|WikiLink]] and -[[directives|directive]] are still expanded by +The only exceptions are that [[WikiLinks|ikiwiki/WikiLink]] and +[[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".