renderMarkdown transforms the markdown text provided by the
user in either the file or text variable. The transformation is
either written to the output file or returned to the user. The default
rendering target is "HTML".renderMarkdown(file, output = NULL, text = NULL, renderer = "HTML",
renderer.options = NULL, extensions = getOption("markdown.extensions"))file or text.HTML renderer options see markdownHTMLOptions.text argument will be used instead.NULL), then it is presumed that the user expects
the results returned as a character vector.markdownExtensions.renderMarkdown returns NULL invisibly when output is to a
file, and either character or raw vector depending on the
renderer output type.markdownExtensions, markdownHTMLOptions,
markdownToHTML.For a description of the original markdown version:
The original Sundown library on github:
C stubs for writing new renders are in inst/include/markdown_rstubs.[ch].
renderMarkdown(text = "Hello World!")Run the code above in your browser using DataLab