Compose a pandoc markdown input definition for R Markdown
that can be passed as the from
argument of pandoc_options.
rmarkdown_format(extensions = NULL)
from_rmarkdown(implicit_figures = TRUE, extensions = NULL)
Pandoc markdown format specification
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 |
+tex_math_single_backslash |
For more on pandoc markdown see the pandoc online documentation.
if (FALSE) { # \dontrun{
rmarkdown_format("-implicit_figures")
} # }