mark: Render Markdown to an output format

View source: R/render.R

markR Documentation

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().


markdown documentation built on April 4, 2025, 5:12 a.m.