markdown: Markdown rendering for R

Description Details Author(s) See Also


Markdown is a plain-text formatting syntax that can be converted to XHTML or other formats. This package provides R bindings to the Sundown ( markdown rendering library.


The R function markdownToHTML renders a markdown file to HTML (respecting the specified markdownExtensions and markdownHTMLOptions).

The package also exports the underlying Sundown C extension API which enables creating and calling custom renderers using the renderMarkdown function.

To learn more about markdown syntax see:


JJ Allaire, Jeffrey Horner, Vicent Marti, and Natacha Porte

Maintainer: Yihui Xie <>

See Also

markdownToHTML renderMarkdown

Search within the markdown package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.