Table of contents

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 #

Share

Commenti