rmarkdown_format

0th

Percentile

R Markdown input format definition

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)

from_rmarkdown(implicit_figures = TRUE, extensions = NULL)

Arguments
extensions

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

implicit_figures

Automatically make figures from images (defaults to TRUE).

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):

+autolink_bare_uris
+ascii_identifier
+tex_math_single_backslash

For more on pandoc markdown see the pandoc online documentation.

Value

Pandoc markdown format specification

See Also

output_format, pandoc_options

Aliases
  • rmarkdown_format
  • from_rmarkdown
Examples
# NOT RUN {
rmarkdown_format("-implicit_figures")
# }
# NOT RUN {
# }
Documentation reproduced from package rmarkdown, version 1.8, License: GPL-3

Community examples

Looks like there are no examples yet.