From e24f418e3499afd1e9e529b8656a35376e69f52a Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Tue, 22 Oct 2024 11:07:59 +0300 Subject: initial commit --- home/dots/.local/bin/convert-website | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 home/dots/.local/bin/convert-website (limited to 'home/dots/.local/bin/convert-website') diff --git a/home/dots/.local/bin/convert-website b/home/dots/.local/bin/convert-website new file mode 100755 index 0000000..2b951d7 --- /dev/null +++ b/home/dots/.local/bin/convert-website @@ -0,0 +1,5 @@ +#!/bin/env sh +for file in $* +do + pandoc $file --from html --to markdown_strict | NO_COLOR=true lowdown -tterm -o "$file.md" +done -- cgit v1.2.3