rmarkdown (version 0.6.1)

rmarkdown_format: R Markdown input format definition

Description

Compose a pandoc markdown input definition for R Markdown that can be passed as the from argument of pandoc_options.

Usage

rmarkdown_format(extensions = NULL)

Arguments

extensions
Markdown extensions to be added or removed from the default definition of R Markdown.

Value

  • Pandoc markdown format specification

Details

By default R Markdown is defined as all pandoc markdown extensions with the following tweaks for backward compatibility with the markdown package (+ features are added, - features are removed):

l{ +autolink_bare_uris +ascii_identifier +tex_math_single_backslash }

For more on pandoc markdown see the http://johnmacfarlane.net/pandoc/demo/example9/pandocs-markdown.html{pandoc markdown specification}.

See Also

output_format, pandoc_options

Examples

Run this code
rmarkdown_format("-implicit_figures")

Run the code above in your browser using DataCamp Workspace