R/md2html.R
md2html.Rd
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.
markdown::markdownToHTML()
htmltools::HTML()
md2html(text)
Character vector containing Markdown text