From 5dbd7402179201ddc39ece8b0e5a7e6de5c0a17a Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Mon, 15 Mar 2021 09:59:08 +0100 Subject: Add lowdown-f --- tools/lowdown-f | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 tools/lowdown-f (limited to 'tools') 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 -- cgit 1.4.1