-
-
Save dylan-k/8950008 to your computer and use it in GitHub Desktop.
RECURSIVELY Bash convert all your html to markdown files (with Pandoc)
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
find . -name "*.ht*" | while read i; do pandoc -f html -t markdown "$i" -o "${i%.*}.md"; done | |
# a simpler method | |
# e.g. convert all text files in the current directory into a single .html file | |
pandoc *.txt > _book2.html | |
#My 'palabra' project contains similar examples |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment