# Formal Parser and Related Tools for R Markdown Documents

## Documentation for package ‘parsermd’ version 0.2.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

as_ast | Convert an object into an 'rmd_ast'.
as_document | Convert an 'rmd_ast', 'rmd_tibble', or any ast node into text.
by_fenced_div | Rmd selection helper functions
by_section | Rmd selection helper functions
chunk_options | Get and set code chunk options
has_code | Rmd selection helper functions
has_heading | Rmd selection helper functions
has_inline_code | Rmd selection helper functions
has_label | Rmd selection helper functions
has_option | Rmd selection helper functions
has_shortcode | Rmd selection helper functions
has_type | Rmd selection helper functions
inline_code_utils | Inline code detection and extraction utilities
parse_collection | Parse a collection of R Markdown or Quarto document
parse_qmd | Parse an R Markdown or Quarto document
parse_qmd_collection | Parse a collection of R Markdown or Quarto document
parse_rmd | Parse an R Markdown or Quarto document
parse_rmd_collection | Parse a collection of R Markdown or Quarto document
render | Render 'parsermd' objects
rmd_ast | S7 Class Definitions for RMD Nodes
rmd_ast_append | Append or preprend nodes to an ast
rmd_ast_prepend | Append or preprend nodes to an ast
rmd_check_template | Check an Rmd against a template
rmd_chunk | Code chunk node
rmd_classes_s7 | S7 Class Definitions for RMD Nodes
rmd_code_block | Markdown code block node
rmd_code_block_literal | Code block literal node
rmd_extract_inline_code | Inline code detection and extraction utilities
rmd_extract_shortcodes | Shortcode detection and extraction utilities
rmd_extract_spans | Span detection and extraction utilities
rmd_fenced_div_close | Closing fenced div node
rmd_fenced_div_open | Opening fenced div node
rmd_fenced_div_wrap | Wrap selected nodes with fenced divs
rmd_get_options | Get and set code chunk options
rmd_has_inline_code | Inline code detection and extraction utilities
rmd_has_shortcode | Shortcode detection and extraction utilities
rmd_has_span | Span detection and extraction utilities
rmd_heading | Heading node
rmd_inline_code | Inline code node
rmd_insert | Insert nodes at specified locations
rmd_markdown | Markdown text node
rmd_modify | Modify nodes of an Rmd ast
rmd_node | S7 Class Definitions for RMD Nodes
rmd_node_attr | rmd node utility functions
rmd_node_attr<- | rmd node utility functions
rmd_node_attr<-.default | rmd node utility functions
rmd_node_attr<-.rmd_node | rmd node utility functions
rmd_node_code | rmd node utility functions
rmd_node_content | rmd node utility functions
rmd_node_content<- | rmd node utility functions
rmd_node_content<-.default | rmd node utility functions
rmd_node_content<-.rmd_chunk | rmd node utility functions
rmd_node_content<-.rmd_code_block | rmd node utility functions
rmd_node_content<-.rmd_code_block_literal | rmd node utility functions
rmd_node_content<-.rmd_markdown | rmd node utility functions
rmd_node_content<-.rmd_raw_chunk | rmd node utility functions
rmd_node_engine | rmd node utility functions
rmd_node_label | rmd node utility functions
rmd_node_label<- | rmd node utility functions
rmd_node_label<-.default | rmd node utility functions
rmd_node_label<-.rmd_chunk | rmd node utility functions
rmd_node_length | rmd node utility functions
rmd_node_options | rmd node utility functions
rmd_node_options<- | rmd node utility functions
rmd_node_options<-.default | rmd node utility functions
rmd_node_options<-.rmd_chunk | rmd node utility functions
rmd_node_sections | Find the sections for each rmd object node
rmd_node_set_attr | rmd node utility functions
rmd_node_set_content | rmd node utility functions
rmd_node_set_label | rmd node utility functions
rmd_node_set_options | rmd node utility functions
rmd_node_type | rmd node utility functions
rmd_node_utilities | rmd node utility functions
rmd_raw_chunk | Raw chunk node
rmd_select | Select nodes of an Rmd ast
rmd_select_helpers | Rmd selection helper functions
rmd_set_options | Get and set code chunk options
rmd_shortcode | Shortcode node
rmd_source | Source the code chunks of an Rmd document
rmd_span | Span node
rmd_template | Create a template from an 'rmd' object.
rmd_yaml | S7 Class Definitions for RMD Nodes
shortcode_utils | Shortcode detection and extraction utilities
span_utils | Span detection and extraction utilities