xenefix
7/17/2018 - 1:19 PM

Convert RST to Markdown using Pandoc

Convert RST to Markdown using Pandoc

FILES=*.rst
for f in $FILES
do
  filename="${f%.*}"
  echo "Converting $f to $filename.md"
  `pandoc $f -f rst -t markdown -o $filename.md`
done