Learn R Programming

⚠️There's a newer version (1.12) of this package.Take me there.

Markdown rendering for R

Overview

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: http://en.wikipedia.org/wiki/Markdown

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 https://rmarkdown.rstudio.com for details.

License

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

Copy Link

Version

Install

install.packages('markdown')

Monthly Downloads

332,694

Version

0.9

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

December 7th, 2018

Functions in markdown (0.9)

markdownExtensions

Markdown extensions
markdown

Markdown rendering for R
rpubsUpload

Upload an HTML file to RPubs
smartypants

smartypants: ASCII punctuation to HTML entities
markdownHTMLOptions

Markdown HTML rendering options
markdownToHTML

Render markdown to HTML
registeredRenderers

List of Registered Markdown Renderers
renderMarkdown

Render markdown to an HTML fragment
rendererExists

Testing for existence of a markdown renderer
rendererOutputType

Fetch the Renderer Output Type