Class NodeFormatterSubContext

java.lang.Object
com.vladsch.flexmark.formatter.NodeFormatterSubContext
All Implemented Interfaces:
ExplicitAttributeIdProvider, NodeFormatterContext, TranslationContext, LinkResolverBasicContext, LinkResolverContext, NodeContext<Node,NodeFormatterContext>
Direct Known Subclasses:
Formatter.MainNodeFormatter, Formatter.MainNodeFormatter.SubNodeFormatter

public abstract class NodeFormatterSubContext extends Object implements NodeFormatterContext
  • Field Details

  • Constructor Details

    • NodeFormatterSubContext

      public NodeFormatterSubContext(@NotNull @NotNull MarkdownWriter markdown)
  • Method Details

    • getRenderingNode

      @Nullable public @Nullable Node getRenderingNode()
    • setRenderingNode

      public void setRenderingNode(@Nullable @Nullable Node renderingNode)
    • getMarkdown

      @NotNull public @NotNull MarkdownWriter getMarkdown()
      Specified by:
      getMarkdown in interface NodeFormatterContext
      Returns:
      the HTML writer to use
    • flushTo

      public void flushTo(@NotNull @NotNull Appendable out, int maxTrailingBlankLines)
    • flushTo

      public void flushTo(@NotNull @NotNull Appendable out, int maxBlankLines, int maxTrailingBlankLines)