insert_md | R Documentation |
Insert markdown before or after a set of nodes
insert_md(body, md, nodes, where = "after", space = TRUE)
body |
an XML object generated via tinkr |
md |
markdown text to insert |
nodes |
a character vector of an XPath expression OR an |
where |
the position in the markdown document to insert the new markdown |
space |
when |
a copy of the XML object with the translated markdown inserted
The markdown content must be of the same type as the XML nodes, either inline or block content.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.