Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
RECURSIVELY Bash convert all your html to markdown files (with Pandoc)
find . -name "*.ht*" | while read i; do pandoc -f html -t markdown "$i" -o "${i%.*}.md"; done
@AlexJameson
Copy link

Thank you! Helped me to convert multiple folders of .md files to .docx and saved a lot of time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment