Skip to contents

Document functions

parse_rmd() parse_qmd()
Parse an R Markdown or Quarto document
as_ast()
Convert an object into an rmd_ast.
as_document()
Convert an rmd_ast, rmd_tibble, or any ast node into text.
reexports as_tibble type_sum %>%
Objects exported from other packages
render()
Render parsermd objects
rmd_source()
Source the code chunks of an Rmd document
parse_qmd_collection() parse_rmd_collection() experimental
Parse a collection of R Markdown or Quarto document
rmd_ast_append() rmd_ast_prepend()
Append or preprend nodes to an ast

Subsetting functions

rmd_select()
Select nodes of an Rmd ast
has_type() by_section() has_label() has_code() has_option()
Rmd selection helper functions

Node functions

Node functions

Template functions

rmd_template()
Create a template from an rmd object.
rmd_check_template()
Check an Rmd against a template

Deprecated functions

rmd_subset() deprecated
Subset the nodes of an rmd object
rmd_get_node() rmd_get_chunk() rmd_get_markdown() rmd_has_node() rmd_has_chunk() rmd_has_markdown() deprecated
rmd_subset utility functions