Interface PhasedNodeFormatter
- All Superinterfaces:
NodeFormatter
- All Known Implementing Classes:
AbbreviationNodeFormatter, AttributesNodeFormatter, CoreNodeFormatter, EnumeratedReferenceNodeFormatter, FootnoteNodeFormatter, JekyllFrontMatterNodeFormatter, JekyllTagNodeFormatter, MacrosNodeFormatter, NodeRepositoryFormatter, WikiLinkNodeFormatter, YamlFrontMatterNodeFormatter
A renderer for a document node for a specific rendering phase
-
Method Summary
Modifier and TypeMethodDescription@Nullable Set<FormattingPhase> voidrenderDocument(@NotNull NodeFormatterContext context, @NotNull MarkdownWriter markdown, @NotNull Document document, @NotNull FormattingPhase phase) Render the specified node.Methods inherited from interface NodeFormatter
getBlockQuoteLikePrefixChar, getNodeClasses, getNodeFormattingHandlers
-
Method Details
-
getFormattingPhases
-
renderDocument
void renderDocument(@NotNull @NotNull NodeFormatterContext context, @NotNull @NotNull MarkdownWriter markdown, @NotNull @NotNull Document document, @NotNull @NotNull FormattingPhase phase) Render the specified node.- Parameters:
context- node renderer context instancemarkdown- markdown writer instancedocument- the document node to renderphase- rendering phase for which to generate the output. Will be any ofFormattingPhaseexceptFormattingPhase.DOCUMENTbecause this phase is used for the non-phased node rendering
-