Package com.vladsch.flexmark.formatter
Interface NodeFormatter
- All Known Subinterfaces:
PhasedNodeFormatter
- All Known Implementing Classes:
AbbreviationNodeFormatter
,AdmonitionNodeFormatter
,AsideNodeFormatter
,AttributesNodeFormatter
,CoreNodeFormatter
,DefinitionNodeFormatter
,EmojiNodeFormatter
,EnumeratedReferenceNodeFormatter
,FootnoteNodeFormatter
,GitLabNodeFormatter
,JekyllFrontMatterNodeFormatter
,JekyllTagNodeFormatter
,MacrosNodeFormatter
,NodeRepositoryFormatter
,SimTocNodeFormatter
,SpecExampleNodeFormatter
,TableNodeFormatter
,TaskListNodeFormatter
,WikiLinkNodeFormatter
,YamlFrontMatterNodeFormatter
public interface NodeFormatter
A renderer for a set of node types.
-
Method Summary
Modifier and TypeMethodDescriptiondefault char
Return character which compacts like block quote prefixCollect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.@Nullable Set<NodeFormattingHandler<?>>
-
Method Details
-
getNodeFormattingHandlers
- Returns:
- the mapping of nodes this renderer handles to rendering function
-
getNodeClasses
Collect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.- Returns:
- the nodes of interest to this formatter during formatting.
-
getBlockQuoteLikePrefixChar
default char getBlockQuoteLikePrefixChar()Return character which compacts like block quote prefix- Returns:
- character or NUL if none
-