From ce567a174835644d29f3b7f4a4626f07dfb05b0a Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Tue, 5 Mar 2024 14:25:48 -0500 Subject: added a new script to conevrt all md to asciidoc, rss feed now sends the entire asciidoc for the teaser --- convert_md_to_asciidoc.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 convert_md_to_asciidoc.sh (limited to 'convert_md_to_asciidoc.sh') diff --git a/convert_md_to_asciidoc.sh b/convert_md_to_asciidoc.sh new file mode 100755 index 0000000..bec8985 --- /dev/null +++ b/convert_md_to_asciidoc.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +for markdown in ./mds/*.md; do + name=$(basename -s ".md" ${markdown}) + pandoc -t asciidoc -f markdown ${markdown} > ./mds/${name}.txt +done -- cgit v1.2.3