java.lang.Object
org.commonmark.node.Node
org.commonmark.node.CustomNode
org.commonmark.ext.gfm.alerts.AlertTitle
Inline content container for the optional custom title of an
Alert.
When present, an AlertTitle is always the first child of an Alert. Its own
children are the parsed inline nodes of the title (i.e., the text after the [!TYPE]
marker on the same line). For example, in
> [!NOTE] Custom _title_
> Body text
the AlertTitle contains a Text node ("Custom ") followed by an
Emphasis node wrapping "title".-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.commonmark.node.CustomNode
acceptMethods inherited from class org.commonmark.node.Node
addSourceSpan, appendChild, getFirstChild, getLastChild, getNext, getParent, getPrevious, getSourceSpans, insertAfter, insertBefore, prependChild, setParent, setSourceSpans, toString, toStringAttributes, unlink
-
Constructor Details
-
AlertTitle
public AlertTitle()
-