Requests a replacement for a parent container while processing the current leaf block.
public void ReplaceParentContainer(ContainerBlock previousParentContainer, ContainerBlock newParentContainer)
The parent container that has already been replaced in the block tree.
The replacement parent container.
This method does not perform the replacement in the block tree. Callers must already update the AST (replace the parent block and transfer children as needed). This method only synchronizes the traversal state used by Markdig.Parsers.MarkdownParser.ProcessInlines(Markdig.Parsers.InlineProcessor%2cMarkdig.Syntax.MarkdownDocument).