rmd_subset_util {parsermd} | R Documentation |
rmd_subset utility functions
Description
Tools for selecting or checking a single node using rmd_subset()
selection.
Usage
rmd_get_node(x, sec_refs = NULL, type_refs = NULL, name_refs = NULL, ...)
rmd_get_chunk(x, sec_refs = NULL, name_refs = NULL)
rmd_get_markdown(x, sec_refs = NULL)
rmd_has_node(x, sec_refs = NULL, type_refs = NULL, name_refs = NULL, ...)
rmd_has_chunk(x, sec_refs = NULL, name_refs = NULL, ...)
rmd_has_markdown(x, sec_refs = NULL, ...)
Arguments
x |
rmd object, e.g. |
sec_refs |
Section references, TODO - add details. |
type_refs |
Node type references, TODO - add details. |
name_refs |
Name references, TODO - add details. |
... |
Unused, for extensibility. |
Value
-
rmd_get_*()
functions returns a single Rmd node object (e.g.rmd_heading
,rmd_chunk
,rmd_markdown
, etc.) -
rmd_has_*()
functions returnTRUE
if a matching node exists,FALSE
otherwise.
[Package parsermd version 0.1.3 Index]