rmd_node_sections {parsermd}R Documentation

Find the sections for each rmd object node

Description

Uses the section headings of an rmd object to identify the hierarchical structure of the document.

Usage

rmd_node_sections(x, levels = 1:6, drop_na = FALSE)

Arguments

x

An rmd object, e.g. rmd_ast or rmd_tibble.

levels

Limit which section heading levels to return.

drop_na

Should NA sections be dropped.

Value

A list of section names for each node.


[Package parsermd version 0.1.3 Index]