This is a wrapper around markdown::markdownToHTML(), where the default behaviour is to produce a HTML fragment. htmltools::HTML() is then used to evaluate the HTML code within a RMarkdown chunk.

md2html(text)

Arguments

text

Character vector containing Markdown text