add_nodes_to_body: Add children to a specific location in the full document.

View source: R/add_md.R

add_nodes_to_bodyR Documentation

Add children to a specific location in the full document.

Description

Add children to a specific location in the full document.

Usage

add_nodes_to_body(body, nodes, where = 0L)

Arguments

body

an XML object generated via tinkr

nodes

an object of xml_node or list of nodes

where

the position in the markdown document to insert the new markdown

Value

a copy of the XML object with nodes inserted


ropenscilabs/tinkr documentation built on June 10, 2025, 3:06 a.m.