Set paranoid options and away we go.
}
close $fh or die "close highlight: $! $?";
$newlang{"txt"} = "Plain text";
}
close $fh or die "close highlight: $! $?";
$newlang{"txt"} = "Plain text";
+$newlang{"md"} = "Markdown";
Odin::xact {
my $h = $db->selectall_hashref
Odin::xact {
my $h = $db->selectall_hashref
% filter "highlight", $m, $content,
% "highlight", "-Ohtml", "-f", "-t8", "-S$1";
</pre>
% filter "highlight", $m, $content,
% "highlight", "-Ohtml", "-f", "-t8", "-S$1";
</pre>
+% } elsif ($lang eq "md") {
+% filter "markdown", $m, $content,
+% "markdown", "-fnohtml,autolink,safelink,footnote";
% } else {
<div class="note">
<p>I don't know how to display content with language
% } else {
<div class="note">
<p>I don't know how to display content with language