to_md: Convert to markdown

View source: R/to_md.R

to_mdR 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")


md4r documentation built on May 29, 2024, 1:35 a.m.

Related to to_md in md4r...