as_document: Convert an 'rmd_ast', 'rmd_tibble', or any ast node into...

Description Usage Arguments Value

View source: R/as_document.R

Description

Convert an rmd_ast, rmd_tibble, or any ast node into text.

Usage

1
as_document(x, padding = "", collapse = NULL, ...)

Arguments

x

rmd_ast, rmd_tibble, or parsermd node object.

padding

Padding to add between nodes when assembling the text.

collapse

If not NULL, use value to collapse lines.

...

Unused, for extensibility.

Value

Returns a character vector.


parsermd documentation built on May 20, 2021, 5:08 p.m.