pub fn extract_toc(node: &Node<'_>, options: &ExtractToc) -> ValueExpand description
The headings of a tree as @stefanprobst/rehype-extract-toc nests them: each
{depth, value, id?, children?}, under the closest heading of a lower rank before it.
pub fn extract_toc(node: &Node<'_>, options: &ExtractToc) -> ValueThe headings of a tree as @stefanprobst/rehype-extract-toc nests them: each
{depth, value, id?, children?}, under the closest heading of a lower rank before it.