sipb-www
/
ikiwiki.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Fix utf-8 in blog post form.
[ikiwiki.git]
/
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 IkiWiki;
8
use Text::WikiFormat;
9
10
sub import { #{{{
11
IkiWiki::hook(type => "htmlize", id => "wiki", call => \&htmlize);
12
} # }}}
13
14
sub htmlize ($) { #{{{
15
my $content = shift;
16
17
return Text::WikiFormat::format($content, undef, { implicit_links => 0 });
18
} # }}}
19
20
1