to_html {md4r} | 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")