md2html: Own markdown to html converter that interfaces commonmark

Description Usage Arguments Value

View source: R/html.r

Description

Own markdown to html converter that interfaces commonmark

Usage

1
2
3
md2html(text, fragment.only = TRUE, options = c("use_xhtml", "mathjax", if
  (include.images) "base64_images" else NULL, "highlight_code"),
  include.images = TRUE, smart = FALSE, use.commonmark = FALSE, ...)

Arguments

text

the variable containing the markdown text

fragment.only

only a fragment or should html headers be added

options

options to markdownToHTML. These are the default options without smartypants

smart

smart punctuation (relevant for commonmark)

use.commonmark

use commonmark instead of markdownToHTML (no mathjax and included images)...

Value

The created HTML as a string


skranz/rmdtools documentation built on Oct. 20, 2020, 3:15 p.m.