-
-
Save wylu/50a49ec7da1f5b6befdbf0f4060a3566 to your computer and use it in GitHub Desktop.
Convert RST to Markdown using Pandoc
This file contains hidden or 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
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment