This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
Enhancement: Also provide a replace method on a node with children #15
Labels
enhancement
New feature or request
Currently, there's no dedicated method to replace a node with another node.
One could already express a replacement with a combination of insert and remove, but I think it makes sense to also provide a wrapper around cmark's
cmark_node_replace()
. The same like we do for all the other operations on nodes.I can provide a pull request once #11 is merged.
The text was updated successfully, but these errors were encountered: