| to_html | R Documentation |
Coverts a markdown object (full ast or node) to HTML.
to_html(md, ...)
md |
Markdown object |
... |
Unused, for extensibility. |
Returns a character vector of HTML lines representing the markdown object.
md_file = system.file("examples/commonmark.md", package = "md4r")
md = parse_md(md_file)
cat(to_html(md), sep="\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.