pinosaur
/
pinopress.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
basic building
[pinopress.git]
/
modules
/
md
diff --git
a/modules/md
b/modules/md
index
5dbcc41
..
717e395
100755
(executable)
--- a/
modules/md
+++ b/
modules/md
@@
-4,10
+4,11
@@
## based off https://github.com/stamby/md-to-html
# input $1 - filepath to html file
## based off https://github.com/stamby/md-to-html
# input $1 - filepath to html file
-# parse header of document
+# remove document meta
+/^-- \w+: .+$/d
# html style comments
# html style comments
-s/<!--(.*)-->//g
+/<!--(.*)-->/d
# special html characters
s/\&/\&\;/g
# special html characters
s/\&/\&\;/g