to_md {md4r} | R Documentation |
Coverts a markdown object (full ast or node) to markdown text.
to_md(md, ...)
md |
Markdown object |
... |
Unused, for extensibility. |
Returns a character vector of markdown lines representing the markdown object.
md_file = system.file("examples/commonmark.md", package = "md4r")
md = parse_md(md_file)
cat(to_md(md), sep="\n")