When the CoreNodeFormatter renders Link nodes it does not descend into its children like other inline containers ie.
private void render(Emphasis node, NodeFormatterContext context, MarkdownWriter markdown) {
markdown.append(node.getOpeningMarker());
context.renderChildren(node);
markdown.append(node.getOpeningMarker());
}
Instead it simply appends the node chars. In my mind this is inconsistent and concretely it means that it will not format my ast manipulation.
I assume that it would be more correct to do much of the same as in the translating context.
When the
CoreNodeFormatterrendersLinknodes it does not descend into its children like other inline containers ie.Instead it simply appends the node chars. In my mind this is inconsistent and concretely it means that it will not format my ast manipulation.
I assume that it would be more correct to do much of the same as in the translating context.