X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/f0df1950493061d294ac0162ff350c1420c28a4c..a48ecf6f3b1ec39c24c1358313aa3a9590194da7:/doc/plugins/txt.mdwn?ds=sidebyside diff --git a/doc/plugins/txt.mdwn b/doc/plugins/txt.mdwn index 8d8cb55c2..a3087c9e0 100644 --- a/doc/plugins/txt.mdwn +++ b/doc/plugins/txt.mdwn @@ -1,5 +1,5 @@ -[[template id=plugin name=txt author="[[Gabriel]]"]] -[[tag type/format]] +[[!template id=plugin name=txt author="[[Gabriel]]"]] +[[!tag type/format]] This plugin makes ikiwiki treat files with names ending in ".txt" as wiki pages. @@ -8,7 +8,12 @@ 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. -The only exceptions are that [[WikiLinks|WikiLink]] and -[[PreprocessorDirectives|PreprocessorDirective]] are still expanded by -ikiwiki, and that, if the [[cpan URI::Find]] perl module is installed, URLs +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".