Class CoreMarkdownNodeRenderer

  • All Implemented Interfaces:
    Visitor, NodeRenderer

    public class CoreMarkdownNodeRenderer
    extends AbstractVisitor
    implements NodeRenderer
    The node renderer that renders all the core nodes (comes last in the order of node renderers).

    Note that while sometimes it would be easier to record what kind of syntax was used on parsing (e.g. ATX vs Setext heading), this renderer is intended to also work for documents that were created by directly creating Nodes instead. So in order to support that, it sometimes needs to do a bit more work.