markdown v1.1


Monthly downloads



Render Markdown with the C Library 'Sundown'

Provides R bindings to the 'Sundown' Markdown rendering library (<>). Markdown is a plain-text formatting syntax that can be converted to 'XHTML' or other formats. See <> for more information about Markdown.


Markdown rendering for R

Build Status Downloads from the RStudio CRAN mirror


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. We do not plan to add new features to this package in the future, and please consider this package to be in the maintenance mode only. In 2014, we 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

Functions in markdown

Name Description
markdownToHTML Render markdown to HTML
registeredRenderers List of Registered Markdown Renderers
rpubsUpload Upload an HTML file to RPubs
markdownExtensions Markdown extensions
rendererOutputType Fetch the Renderer Output Type
smartypants smartypants: ASCII punctuation to HTML entities
markdown Markdown rendering for R
rendererExists Testing for existence of a markdown renderer
markdownHTMLOptions Markdown HTML rendering options
renderMarkdown Render markdown to an HTML fragment
No Results!

Vignettes of markdown

No Results!

Last month downloads


Type Package
License GPL-2
VignetteBuilder knitr
RoxygenNote 6.1.1
Encoding UTF-8
NeedsCompilation yes
Packaged 2019-08-07 15:59:28 UTC; yihui
Repository CRAN
Date/Publication 2019-08-07 16:30:02 UTC

Include our badge in your README