PDF from markdown

I like to use markdown for my course syllabus, since it’s quick and easy, and allows easy use of git to make and track updates.

My department requires a PDF version of the syllabus, so I discovered this handy way to convert from github-flavored markdown (at least tables are supported):

pandoc -t latex -o README.pdf README.md

It first converts the markdown to latex, then produces the PDF.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s