question.png

How to convert Markdown to PDF ?

answer.png

Install pandoc (you can use your package manager on linux)

Make sure that you have latex2pdf and bibliography packages if required installed (some packages of pandoc don't have these as required)

just run the pandoc command.

pandoc -o output.pdf input1.md input2.md

Add optionals such as

--toc for a Table of Contents
--bibliography mybibliography.bib for a Bibliography
--csl bibliographytemplate.csl for a particular Bibliography style
--template template.tex to use your own particular template

Then just wait a few seconds and you have your finalized PDF

Answered by Jonathan Mifsud

http://jonmifsud.com/blog/writing-in-markdown-and-converting-markdown-to-pdf/