span_utils | R Documentation |
Functions for detecting and extracting spans from AST nodes after the initial parsing phase.
rmd_has_span(x)
rmd_extract_spans(x, flatten = FALSE)
x |
An AST node, list of nodes, or character vector |
flatten |
Return a flat list of spans if |
rmd_has_span()
: logical vector indicating which nodes contain spans
rmd_extract_spans()
: list of span objects found in the content
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.