aboutsummaryrefslogtreecommitdiffstats
path: root/convert_md_to_asciidoc.sh
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-03-15 19:48:13 +0000
committerterminaldweller <devi@terminaldweller.com>2024-03-15 19:48:13 +0000
commit86f26aefb312cd24a08c9c773c96c50da429bb43 (patch)
tree2fa4a305fd42052759da4a18202e51f69f47a95b /convert_md_to_asciidoc.sh
parentadded a new script to conevrt all md to asciidoc, rss feed now sends the enti... (diff)
downloadblog-86f26aefb312cd24a08c9c773c96c50da429bb43.tar.gz
blog-86f26aefb312cd24a08c9c773c96c50da429bb43.zip
tag grouppings, WIP
Diffstat (limited to 'convert_md_to_asciidoc.sh')
-rwxr-xr-xconvert_md_to_asciidoc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/convert_md_to_asciidoc.sh b/convert_md_to_asciidoc.sh
index bec8985..79b6442 100755
--- a/convert_md_to_asciidoc.sh
+++ b/convert_md_to_asciidoc.sh
@@ -1,6 +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
+ name=$(basename -s ".md" "${markdown}")
+ pandoc -t asciidoc -f markdown "${markdown}" > ./mds/"${name}".txt
done