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 Details

    • getNodeFormattingHandlers

      @Nullable @Nullable Set<NodeFormattingHandler<?>> getNodeFormattingHandlers()
      Returns:
      the mapping of nodes this renderer handles to rendering function
    • getNodeClasses

      @Nullable @Nullable Set<Class<?>> 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