Markdown to PDF

I first generated HTML using MarkdownSharp and then PDF using https://wkhtmltopdf.org/.

Any other answer which links to a token based parser or a library which could generate PDF directly will be awarded the answer.


You might want to check for LaTeX extensions for your markdown parser, which can easily be converted into PDF. There apparently is for the python-markdown parser. For example, https://github.com/justinvh/Markdown-LaTeX.

It also looks like you can use pandoc to convert markdown to LaTeX: https://pandoc.org/

Tags:

C#

.Net

Markdown