From 7a5cfd1dca26299abb9c29a32d7ecf0d7668a095 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 18 Jun 2016 15:35:50 +1200 Subject: Swap pandoc(1) for markdown(1) > OPTIONS Use "--" to end switch parsing. > are you using the wrong markdown > yeah checking versions > 1.0.1 is the one I quoted > ah > it's documented, but does not work :^) > $ pandoc -f markdown -t html -- /home/tom/.dotfiles/README.markdown > based pandoc(1) > hahaha > welp > welp indeed --- bin/mdurls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/mdurls b/bin/mdurls index 18cd07f4..ab8b853b 100755 --- a/bin/mdurls +++ b/bin/mdurls @@ -9,10 +9,10 @@ # # Check we have the programs we need -hash markdown htmlurls || exit +hash pandoc htmlurls || exit # Pipe the output of markdown(1) on our args ... -markdown "${@:-/dev/stdin}" | +pandoc -f markdown -t html -- "${@:-/dev/stdin}" | # ... into our own htmlurls htmlurls -- cgit v1.2.3