Word to markdown

Documentation for developers
Helps you to convert your documentation to markdown and track it as plain text in your repo
URL: doc2text.com

Pandoc

Navigate to containing folder
cd ~/Dropbox/GitHub/jekyll/bowerth.github.io/_drafts/
HTML with CSS:
pandoc --standalone -c style.css --from markdown --to html -o file.html file.md
PDF with standard size
pandoc --variable=geometry:a4paper file.md -o file.pdf
Example
cd ~/Dropbox/GitHub/jekyll/bowerth.github.io \ && pandoc --variable=geometry:a4paper _drafts/Motivation-Boston-Consulting-Group.md -o ~/Downloads/motivation.pdf
PDF with custom size and margins
pandoc -V geometry:paperwidth=4in -V geometry:paperheight=6in -V geometry:margin=.5in file.md -o file.pdf


Published

07 April 2015

Category

technical