diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-12-03 11:52:48 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-12-03 11:52:48 +0100 |
commit | 264b48ff259714217ed0c056a99d038dde872249 (patch) | |
tree | a53b29cbdcb898f056d898a2289e36b46c8e98c5 /mutt | |
parent | bcd3e89a1144f23a95f11e0243fedb2b7c1eaab9 (diff) |
Increase tmux scrollback
Diffstat (limited to 'mutt')
-rwxr-xr-x | mutt/.mutt/filter | 5 | ||||
-rw-r--r-- | mutt/.mutt/muttrc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mutt/.mutt/filter b/mutt/.mutt/filter new file mode 100755 index 0000000..dcf5600 --- /dev/null +++ b/mutt/.mutt/filter @@ -0,0 +1,5 @@ +#!/bin/bash + +TEXT=$(cat) +HTML=$(pandoc -s -f markdown -t html --webtex -H "$HOME"/.mutt/pandoc.html <<< "$TEXT") +sed 's/<br \/>\(.*\)<br \/>/<span class="math display">\1<\/span>/g' <<< "$HTML" diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index f78b7cb..1595175 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -100,4 +100,4 @@ set reverse_name alternates ".*@vaes.uk" # HTML email -macro compose 5 "$HOME/.mutt/filter\ny^T^Utext/html; charset=utf-8\n" +macro compose 5 "F $HOME/.mutt/filter\ny^T^Utext/html; charset=utf-8\n" |