## markdown to html module for pinopress
## based off https://github.com/stamby/md-to-html
-# input $1 - filepath to html file
+## usage:
+## md [md_filepath]
-# parse header of document
+# remove document meta
+/^-- \w+: .+$/d
# html style comments
-s/<!--(.*)-->//g
+/<!--(.*)-->/d
# special html characters
s/\&/\&\;/g