]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/plugins/contrib/plaintext/discussion.mdwn
web commit by http://gmcmanus.myopenid.com/: new plaintext plugin
[git.ikiwiki.info.git] / doc / plugins / contrib / plaintext / discussion.mdwn
1 I guess the reason I never thought to write this is when I put a .txt file
2 in ikiwiki, I'm happy enough to see it copied through unchanged.
4 I guess the advantage of using this plugin is that you get the page wrapper
5 around the preformatted text, and could even inline such a page.
7 There is not currently a good way to turn off some processing steps for
8 some page types. It's either all or nothing. The patch in
9 [[todo/format_escape]] might allow a formatter to register its own special
10 version of htmllink that didn't do anything, but would that be enough?
12 --[[Joey]]
14 [Here](http://www.gmcmanus.org/plaintext.pm) is an alternate approach.
15 It encodes entities using a filter hook, before wikilinks are linkified.
16 So wikilinks turn up as links.
17 It also uses URI::Find to turn URIs into links.
19 I'm not very familiar with Perl, so this code could be improved.
21 --Gabriel