Learn R Programming

markdown (version 2.0)

mark: Render Markdown to an output format

Description

This is a wrapper function based on litedown::mark(). You should use litedown::mark() directly.

Usage

mark(
  file = NULL,
  output = NULL,
  text = NULL,
  format = c("html", "latex"),
  options = NULL,
  template = FALSE,
  meta = list()
)

mark_html(..., template = TRUE)

mark_latex(..., template = TRUE)

Arguments

file, output, text, options, meta

Passed to litedown::mark().

format

Output format name.

template

Whether to use a built-in template, or path to a custom template.

...

Arguments to be passed to mark().