projects
/
ikiwiki
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
update
[ikiwiki]
/
IkiWiki
/
Plugin
/
typography.pm
1
#!/usr/bin/perl
2
3
package IkiWiki::Plugin::typography;
4
5
use warnings;
6
use strict;
7
use IkiWiki;
8
use Text::Typography;
9
10
sub import { #{{{
11
IkiWiki::hook(type => "sanitize", id => "typography", call => \&sanitize);
12
} # }}}
13
14
sub sanitize (@) { #{{{
15
my %params=@_;
16
17
return Text::Typography::typography($params{content});
18
} # }}}
19
20
1