Markdown rendering for R
C R HTML Other
Switch branches/tags
Latest commit 66ea7e1 Apr 12, 2017 @yihui yihui update travis
Failed to load latest commit information.
R replace MathJax CDN Apr 12, 2017
inst replace MathJax CDN Apr 12, 2017
man roxygenize Apr 12, 2017
tools roxygenize is done via make now Aug 30, 2013
vignettes add another vignette to show the HTML output in the web browser Jan 26, 2014
.Rbuildignore add travis ci Oct 12, 2014
.gitignore do not ignore .Rproj Jun 8, 2013
.travis.yml update travis Apr 12, 2017
Makefile do not check the nonsense PDF manual Nov 26, 2013
NAMESPACE roxygenize Apr 12, 2017
NEWS fixes rstudio/htmltools#30: when HTML code is empty, do not try to ba… Aug 7, 2015 add travis ci Oct 12, 2014
markdown.Rproj no need to use --no-manual for this project, and rab() is simpler now Apr 19, 2015

Markdown rendering for R

Build Status


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. Options controlling HTML output and supported markdown extensions can be optionally specified.

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:

This package is referred to as R Markdown v1 when combined with knitr. The primary output format is HTML. Now we have introduced R Markdown v2, which is based on Pandoc and knitr, and supports much more types of output formats. Please see for details.


The markdown package is licensed under the GPLv2. See these files for additional details:

  • inst/COPYING - Markdown package license (GPLv2)
  • inst/NOTICE - Copyright notices for additional included software