aboutsummaryrefslogtreecommitdiffstats
path: root/convert_md_to_asciidoc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'convert_md_to_asciidoc.sh')
-rwxr-xr-xconvert_md_to_asciidoc.sh6
1 files changed, 6 insertions, 0 deletions
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