as_ast {parsermd}R Documentation

Convert an object into an rmd_ast.

Description

Currently only supports conversion of rmd_tibble objects back to rmd_ast.

Usage

as_ast(x, ...)

Arguments

x

Object to convert

...

Unused, for extensibility.

Value

Returns an rmd_ast object.

Examples

parse_rmd(system.file("hw01.Rmd", package="parsermd")) %>%
  as_tibble() %>%
  as_ast()


[Package parsermd version 0.1.3 Index]