aboutsummaryrefslogblamecommitdiffstats
path: root/convert_md_to_asciidoc.sh
blob: 79b644258d2cc54d0fe656f186d7f8a72b63379d (plain) (tree)
1
2
3
4
5
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