mark function

Render Markdown to an output format

Render Markdown to an output format

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

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().
  • Maintainer: Yihui Xie
  • License: MIT + file LICENSE
  • Last published: 2025-03-23