1 How to allow .markdown and .md (at the same time) as valid extensions for source files? The default is .mdwn.
3 > Add `md` to your `add_plugins`, set `libdir` if not already set,
4 > put the following in `${libdir}/IkiWiki/Plugin/md.pm`, and rebuild:
7 package IkiWiki::Plugin::md;
13 my @ADDITIONAL_EXTENSIONS = qw(md markdown);
16 IkiWiki::loadplugin('mdwn');
17 foreach my $ext (@ADDITIONAL_EXTENSIONS) {
18 hook(type => "htmlize", id => $ext, call => \&IkiWiki::Plugin::mdwn::htmlize, longname => "Markdown (.$ext)");