markdownit: Render markdown to HTML

Description Usage Arguments

View source: R/markdownit.R

Description

Renders markdown text to HTML using markdown-it

Usage

1
2
3
markdownit(md, html = FALSE, xhtmlOut = FALSE, breaks = FALSE,
  langPrefix = "language-", linkify = FALSE, typographer = FALSE,
  quotes = "<e2><80><9c><e2><80><9d><e2><80><98><e2><80><99>", highlight = TRUE, inline = FALSE)

Arguments

md

input markdown text

html

enable HTML tags in source

xhtmlOut

use '/' to close single tags (<br />).

breaks

convert '\n' in paragraphs into <br>

langPrefix

CSS language prefix for fenced blocks

linkify

autoconvert URL-like text to links

typographer

enable some language-neutral replacement + quotes beautification

quotes

double + single quotes replacement pairs, when typographer enabled and smartquotes on. Set doubles to '<c2><ab><c2><bb>' for Russian, '<e2><80><9e><e2><80><9c>' for German.

highlight

enable highlight.js syntax coloring

inline

render inline (without paragraths & blocks)


jeroenooms/markdownit documentation built on May 19, 2019, 6:14 a.m.