Skip to content
Permalink
main
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
date updated tags description
2021-03-29 05:32:27 +0200
2021-03-29 05:32:27 +0200
geek/apps
<a href='https://pandoc.org' target='_blank' title='Pandoc'>Pandoc</a> infos and cheat sheet

Cheat sheet

Convert a Word file into a Markdown file, following the CommonMark standard

pandoc ~/Desktop/input.docx -f docx -t commonmark --wrap=none -o ~/Desktop/output.md

Convert multiple Word files in a folder in a standalone Markdown file

pandoc *.docx -f docx -t commonmark --wrap=none -s -o ~/Desktop/output.md
Replace commonmark with markdown_mmd to have more features

convert all files in a folder

for f in *.docx; do pandoc "$f" -f docx -t commonmark --wrap=none -s -o "$f".md; done


To learn

Resources