pandoc is quite good and has plenty of options to convert markdown to pdf (and other formats) It has its own version of markdown with plenty of extensions and supports Github style markdown as well
I personally use Github one as it would make it easier to open source my books later on. I wrote a post with my current setup:
A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
Eisvogel
A clean pandoc LaTeX template to convert your markdown files to PDF or LaTeX. It is designed for lecture notes and exercises with a focus on computer science. The template is compatible with pandoc 2.
Preview
A custom title page
A basic example page
Installation
Install pandoc from pandoc.org/. You also need to install LaTeX.
Download the latest version of the Eisvogel template from the release page.
Extract the downloaded ZIP archive and open the folder.
Move the template eisvogel.tex to your pandoc templates folder and rename the file to eisvogel.latex. The location of the templates folder depends on your operating system:
Unix, Linux, macOS: $XDG_DATA_HOME/pandoc/templates or ~/.pandoc/templates/
Windows XP: C:\Documents And Settings\USERNAME\Application Data\pandoc\templates
Windows Vista or later: C:\Users\USERNAME\AppData\Roaming\pandoc\templates
If there are no folders called templates or pandoc you need to create them and put the template eisvogel.latex inside.
pandoc
is quite good and has plenty of options to convert markdown to pdf (and other formats) It has its own version of markdown with plenty of extensions and supports Github style markdown as wellI personally use Github one as it would make it easier to open source my books later on. I wrote a post with my current setup:
Customizing pandoc to generate beautiful pdfs from markdown
Sundeep ・ Mar 11 ・ 10 min read
There's also a template I saw on Github, yet to try though:
Wandmalfarbe / pandoc-latex-template
A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
Eisvogel
A clean pandoc LaTeX template to convert your markdown files to PDF or LaTeX. It is designed for lecture notes and exercises with a focus on computer science. The template is compatible with pandoc 2.
Preview
Installation
Install pandoc from pandoc.org/. You also need to install LaTeX.
Download the latest version of the Eisvogel template from the release page.
Extract the downloaded ZIP archive and open the folder.
Move the template
eisvogel.tex
to your pandoc templates folder and rename the file toeisvogel.latex
. The location of the templates folder depends on your operating system:$XDG_DATA_HOME/pandoc/templates
or~/.pandoc/templates/
C:\Documents And Settings\USERNAME\Application Data\pandoc\templates
C:\Users\USERNAME\AppData\Roaming\pandoc\templates
If there are no folders called
templates
orpandoc
you need to create them and put the templateeisvogel.latex
inside.Usage
Open the terminal and navigate…
Thanks for the link to your post, information looks great! I think I am also going to stick with github style.