diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-11-16 14:29:44 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-11-16 14:29:44 +0100 |
commit | 93ec8a8832241455ed7d2e06b7a5b94d75148b39 (patch) | |
tree | a1768fd6a0bca54e76e2ad6cd55cea6d31a2f49f /mutt/.mutt | |
parent | 543c43ea1c8cbb938a5a5bcf06778100ca4c9728 (diff) |
[mutt] Add binding to convert markdown to html
Diffstat (limited to 'mutt/.mutt')
-rw-r--r-- | mutt/.mutt/muttrc | 4 | ||||
-rw-r--r-- | mutt/.mutt/pandoc.html | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index 6cfa76e..e40206d 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -25,6 +25,7 @@ set abort_nosubject=no unset markers set sleep_time = 0 set wait_key = no +set charset = utf-8 # Encryption set crypt_autosign = no @@ -97,3 +98,6 @@ folder-hook 'Misc/rss|Misc/lists' 'unset trash; unset from' # Identities set reverse_name alternates ".*@vaes.uk" + +# HTML email +macro compose 5 "F pandoc -s -f markdown -t html --webtex -H $HOME/.mutt/pandoc.html \ny^T^Utext/html; charset=utf-8\n" diff --git a/mutt/.mutt/pandoc.html b/mutt/.mutt/pandoc.html new file mode 100644 index 0000000..010a3ed --- /dev/null +++ b/mutt/.mutt/pandoc.html @@ -0,0 +1,8 @@ +<style> +body { + font-family: Source Sans Pro, Courier; + padding: 1em; + font-size: 18px; + max-width: 46em; +} +</style> |