to_md {md4r} | R Documentation |
Convert to markdown
Description
Coverts a markdown object (full ast or node) to markdown text.
Usage
to_md(md, ...)
Arguments
md |
Markdown object |
... |
Unused, for extensibility. |
Value
Returns a character vector of markdown lines representing the markdown object.
Examples
md_file = system.file("examples/commonmark.md", package = "md4r")
md = parse_md(md_file)
cat(to_md(md), sep="\n")
[Package md4r version 0.5.2.0 Index]