~mdw
/
odin-cgi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bin/populate-lang-table, mason/pastebin/%show: Add Markdown support.
[odin-cgi]
/
mason
/
pastebin
/
%show
diff --git
a/mason/pastebin/%show
b/mason/pastebin/%show
index
cfa0f26
..
a0e7f67
100644
(file)
--- a/
mason/pastebin/%show
+++ b/
mason/pastebin/%show
@@
-28,6
+28,9
@@
% 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