Skip to content

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

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 {} \;