projects
/
ikiwiki
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
* Run page through any relevant filters when generating a page preview.
[ikiwiki]
/
IkiWiki
/
Plugin
/
wikitext.pm
1
#!/usr/bin/perl
2
# WikiText markup
3
package IkiWiki::Plugin::wikitext;
4
5
use warnings;
6
use strict;
7
use Text::WikiFormat;
8
9
sub import { #{{{
10
IkiWiki::hook(type => "htmlize", id => "wiki", call => \&htmlize);
11
} # }}}
12
13
sub htmlize ($) { #{{{
14
my $content = shift;
15
16
return Text::WikiFormat::format($content, undef, { implicit_links => 0 });
17
} # }}}
18
19
1