Pandoc
Pandoc is a free and open-source document converter, widely used as a writing tool and as a basis for publishing workflows. It was created by John MacFarlane, a philosophy professor at the University of California, Berkeley.
References
- Customizing Pandoc to Generate Beautiful PDF and ePub from Markdown
- A Pandoc LaTeX template - Markdown to PDF or LaTeX
- Automona Blog
Commands
Markdown to HTML with CSS
pandoc -s -f markdown -t html5 -o output.html input.md -c style.css
batch process Markdown to HTML
find . -name \*.md -type f -exec pandoc -o {}.html {} \;