about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/lowdown-f5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/lowdown-f b/tools/lowdown-f
new file mode 100755
index 0000000..b64be88
--- /dev/null
+++ b/tools/lowdown-f
@@ -0,0 +1,5 @@
+#!/bin/sh
+## Frontmatter wrapper for lowdown
+
+tail -n +$(($(sed -n '/---/,/---/p' $1 | wc -l)+1)) $1 | \
+      lowdown --html-no-skiphtml --html-no-escapehtml