From 0d3afee6624b064f2f7744a45e5c9d7c1923333e Mon Sep 17 00:00:00 2001 From: veclav talica Date: Fri, 23 Feb 2024 23:29:42 +0500 Subject: [PATCH] raw markdown accessibility --- compile.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/compile.sh b/compile.sh index 25ebe00..abb5806 100755 --- a/compile.sh +++ b/compile.sh @@ -36,3 +36,10 @@ for f in ./html/tags/*.html; do done ./tools/feed_generator.py ./articles/ $URL > ./html/feed.xml + +mkdir -p "./html/markdown/" +for d in ./articles/*/; do + if [ -d "$d" ]; then + cp "$d/page.mmd" "./html/markdown/$(basename $d).mdd" + fi +done