# HG changeset patch # User Meredith Howard # Date 1493659247 14400 # Node ID 0313b9d2f171a4f2d80c2128498100b28f86c6f6 # Parent fe459e7fd0af182a5263588b25096f6f930f37ef Make a stripped-down html5 mail template diff --git a/.pandoc/templates/mail.html5 b/.pandoc/templates/mail.html5 new file mode 100644 --- /dev/null +++ b/.pandoc/templates/mail.html5 @@ -0,0 +1,10 @@ + + + + + + + + $body$ + + diff --git a/bin/mutt-md2html b/bin/mutt-md2html --- a/bin/mutt-md2html +++ b/bin/mutt-md2html @@ -1,2 +1,7 @@ #!/bin/sh -exec pandoc -sS --self-contained --highlight-style=monochrome -f markdown -t html5 $* +exec pandoc -sS \ + -f markdown -t html5 \ + --self-contained \ + --template=mail \ + --highlight-style=monochrome \ + $*