Interface PhasedNodeFormatter

    • Method Detail

      • getFormattingPhases

        @Nullable
        java.util.Set<FormattingPhase> getFormattingPhases()
      • renderDocument

        void renderDocument​(@NotNull
                            NodeFormatterContext context,
                            @NotNull
                            MarkdownWriter markdown,
                            @NotNull
                            Document document,
                            @NotNull
                            FormattingPhase phase)
        Render the specified node.
        Parameters:
        context - node renderer context instance
        markdown - markdown writer instance
        document - the document node to render
        phase - rendering phase for which to generate the output. Will be any of FormattingPhase except FormattingPhase.DOCUMENT because this phase is used for the non-phased node rendering