Last active
February 7, 2017 09:38
-
-
Save alexisduque/6e06d7bd92f51defa5fdf01efb85e5ff to your computer and use it in GitHub Desktop.
markdown to asciidoc
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
find . -name "*.md*" | while read i; do pandoc -f markdown -t asciidoc "$i" -o "${i%.*}.adoc"; done | |
for file in *.png; do convert $file -resize 500x500 -quality 90 "${file%.*}.jpg" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment