Created
August 6, 2018 21:56
-
-
Save zorbax/41569197100f5798959895c0ecc989d3 to your computer and use it in GitHub Desktop.
reStructuredText to Markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in $(ls *rst) | |
do | |
filename="${i%.*}" | |
echo "Converting $i to $filename.md" | |
pandoc $i -f rst -t markdown -o $filename.md` | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment