Class SpecExampleNodeFormatter
java.lang.Object
com.vladsch.flexmark.ext.spec.example.internal.SpecExampleNodeFormatter
- All Implemented Interfaces:
NodeFormatter
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SpecExampleOptionsprivate intprivate Stringprivate final String[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.@Nullable Set<NodeFormattingHandler<?>> (package private) voidrender(Heading node, NodeFormatterContext context, MarkdownWriter markdown) (package private) voidrender(SpecExampleBlock node, NodeFormatterContext context, MarkdownWriter markdown) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NodeFormatter
getBlockQuoteLikePrefixChar
-
Field Details
-
formatOptions
-
mySections
-
mySection
-
myFlexMarkExampleCount
private int myFlexMarkExampleCount
-
-
Constructor Details
-
SpecExampleNodeFormatter
-
-
Method Details
-
getNodeClasses
Description copied from interface:NodeFormatterCollect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.- Specified by:
getNodeClassesin interfaceNodeFormatter- Returns:
- the nodes of interest to this formatter during formatting.
-
getNodeFormattingHandlers
- Specified by:
getNodeFormattingHandlersin interfaceNodeFormatter- Returns:
- the mapping of nodes this renderer handles to rendering function
-
render
-
render
-