diff --git a/bin/md2html b/bin/md2html
new file mode 100755
--- /dev/null
+++ b/bin/md2html
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec pandoc \
+ --quiet \
+ --standalone \
+ -f markdown+smart \
+ -t html5 \
+ --toc \
+ --toc-depth=5 \
+ --self-contained \
+ --template=md2html \
+ $*