aboutsummaryrefslogtreecommitdiff
path: root/mutt/filters
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-20 10:54:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-20 10:54:57 +1200
commit1dae970cc3b4f769523ae8ebfb1cbe52d9583520 (patch)
tree751fa294b98eb4c04ecfc9f6937082e67dce9ad8 /mutt/filters
parentShow OpenPGP headers (diff)
downloaddotfiles-1dae970cc3b4f769523ae8ebfb1cbe52d9583520.tar.gz
dotfiles-1dae970cc3b4f769523ae8ebfb1cbe52d9583520.zip
Fix some spacing in Makefile
Diffstat (limited to 'mutt/filters')
-rw-r--r--mutt/filters/markdown-to-html.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/mutt/filters/markdown-to-html.sh b/mutt/filters/markdown-to-html.sh
new file mode 100644
index 00000000..cdba8ace
--- /dev/null
+++ b/mutt/filters/markdown-to-html.sh
@@ -0,0 +1,7 @@
+printf 'text/html\n\n'
+sed 's/ $/ /;/[^ ]$/s/$/ /;s/^-- $/-- /' |
+pandoc \
+ --from markdown_strict+smart \
+ --metadata=pagetitle:HTML \
+ --standalone \
+ --to html4