Skip to content

Instantly share code, notes, and snippets.

@c-x
c-x / gist:2e5c6e39b334676378c1
Created August 26, 2014 13:21
Markdown to PDF with automatic wrapping

Conversion of a Markdown to a PDF file using Pandoc

# pandoc -s -S README.md -o /tmp/README.pdf

However, when you have very long lines (code, logs, etc), the lines are not automatically wrapped (so you loose information).