commit 06b4768967ef152cedfd77019bf26704a20bf76b
Author: spesk1 <spesk@pm.me>
Date: Mon Jun 24 02:38:07 2019 +0000
Added strikethru support to Mdparser
diff --git a/lib/Gsg/MdParse.pm b/lib/Gsg/MdParse.pm
index bedcca7..35dfcf1 100644
--- a/lib/Gsg/MdParse.pm
+++ b/lib/Gsg/MdParse.pm
@@ -92,6 +92,9 @@ sub render_readme($$) {
} elsif ( $line =~ m/(http.*)/ ) {
$line = link_line($line);
print $fh "$line<br>";
+ } elsif ( $line =~ m/^~~(.*)~~/ ) {
+ $line = "<s>$1</s>";
+ print $fh "$line<br>";
}
else {
print $fh "$line<br>";