From 93ec8a8832241455ed7d2e06b7a5b94d75148b39 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 16 Nov 2018 14:29:44 +0100 Subject: [mutt] Add binding to convert markdown to html --- mutt/.mutt/muttrc | 4 ++++ mutt/.mutt/pandoc.html | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 mutt/.mutt/pandoc.html (limited to 'mutt/.mutt') 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 @@ + -- cgit v1.2.3