diff --git a/gemtohtm b/gemtohtm new file mode 100644 index 0000000..0f0d038 --- /dev/null +++ b/gemtohtm @@ -0,0 +1,5 @@ +$1 == "#" { print "

", $0, "

"; next} +$1 == "##" { print "

", $0, "

"; next} +$1 == "###" { print "

", $0, "

"; next} +$1 == "=>" { print "" substr($0,index($0,$3)), ""; next} +{ print }