Last active
June 1, 2017 12:00
-
-
Save willwright82/c7026e77553e5031a47de0e559502f78 to your computer and use it in GitHub Desktop.
Example pandoc conversions
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
# From docx to markdown | |
pandoc -s 'word-file.docx' --wrap=none --reference-links -t markdown -o 'markdown-file.md' | |
# From markdown to docx | |
pandoc 'markdown-file.md' -o 'word-file.docx' | |
# From web page to markdown: | |
pandoc -s -r html http://www.gnu.org/software/make/ -o 'example.md' | |
# From markdown to PDF: | |
pandoc 'example.md' --latex-engine=xelatex -o 'example.pdf' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment