Markdown rendering for R


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

comments powered by Disqus