Template::Plugin::KwikiFormat - filter to convert kwiki formatted text to html
[% USE KwikiFormat %] [% FILTER kwiki %] == title *bold* /italic/ [% END %]
A wrapper around Kwiki::Formatter.
Template::Plugin::KwikiFormat allows you to use KwikiFormats in data displayed by Template::Toolkit.
WikiLinks don't work without a kwiki, so we need some magic / dirty tricks to make it work (i.e.: subroutine redefinition at runtime)
I slightly altered the meaning of ForcedLinks. In Kwiki, something like this
[SomePage see here]
results in a link to the Kwiki-Page "SomePage" labeld with "see here".
With Template::Plugin::KwikiFormat, you can (ab)use this syntax for local (relative) links. i.e.:
[/some/page.html see here]
gets rendered as a link to "/some/page.html" labled with "see here".
One of the fragments inside the square bracktes needs to start with a slash for this to work.
generate new plugin
Thomas Klausner, firstname.lastname@example.org, http://domm.zsi.at
With a lot of thanks to Jon Åslund (Jooon) from #kwiki for coming up with how to do it.
Additional thanks to Ian Langworth.
From March 2006, this module is taken over and maintained by Satoshi Tanimoto <email@example.com>
Copyright 2004, Thomas Klausner, ZSI
You may use, modify, and distribute this package under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 151:
Non-ASCII character seen before =encoding in 'Åslund'. Assuming ISO8859-1