bin/mutt-md2html

Sun, 03 Dec 2017 17:31:55 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 03 Dec 2017 17:31:55 -0500
changeset 657
628b4b962086
parent 565
b559ab3fd0ce
child 684
217647e6c878
permissions
-rwxr-xr-x

Use pandoc as markdown equalprg, use only 72 for text width

552
1a131edec257 Nice up pandoc-html thing
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 #!/bin/sh
556
0313b9d2f171 Make a stripped-down html5 mail template
Meredith Howard <mhoward@roomag.org>
parents: 552
diff changeset
2 exec pandoc -sS \
561
afae5b9713e9 no blank-before-blockquote
Meredith Howard <mhoward@roomag.org>
parents: 556
diff changeset
3 -f markdown-blank_before_blockquote \
afae5b9713e9 no blank-before-blockquote
Meredith Howard <mhoward@roomag.org>
parents: 556
diff changeset
4 -t html5 \
556
0313b9d2f171 Make a stripped-down html5 mail template
Meredith Howard <mhoward@roomag.org>
parents: 552
diff changeset
5 --self-contained \
0313b9d2f171 Make a stripped-down html5 mail template
Meredith Howard <mhoward@roomag.org>
parents: 552
diff changeset
6 --template=mail \
0313b9d2f171 Make a stripped-down html5 mail template
Meredith Howard <mhoward@roomag.org>
parents: 552
diff changeset
7 --highlight-style=monochrome \
565
b559ab3fd0ce disable email obfu
Meredith Howard <mhoward@roomag.org>
parents: 561
diff changeset
8 --email-obfuscation=none \
556
0313b9d2f171 Make a stripped-down html5 mail template
Meredith Howard <mhoward@roomag.org>
parents: 552
diff changeset
9 $*

mercurial