API Reference
Class
CalloutBlock
Docs/Markdown-style callout (admonition) block. Renders using "> [!KIND] Title" followed by indented content lines.
Inheritance
- MarkdownBlock
- CalloutBlock
Constructors
public CalloutBlock(String kind, String title, String body) #Creates a callout with the specified kind, title and body.
Parameters
- kind System.String
- title System.String
- body System.String
Methods
Inherited Methods
public Void Accept(MarkdownVisitor visitor) #Returns:
VoidInherited from MarkdownObject
Parameters
- visitor MarkdownVisitor
public IEnumerable<MarkdownObject> Ancestors() #Returns:
IEnumerable<MarkdownObject>Inherited from MarkdownObject
public IEnumerable<MarkdownObject> AncestorsAndSelf() #Returns:
IEnumerable<MarkdownObject>Inherited from MarkdownObject
public IEnumerable<TObject> DescendantObjectsOfType<TObject>() #Returns:
IEnumerable<TObject>Inherited from MarkdownObject
Type Parameters
- TObject
public IEnumerable<MarkdownObject> Descendants() #Returns:
IEnumerable<MarkdownObject>Inherited from MarkdownObject
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Kind { get; } #Admonition kind, e.g., info, warning, success.
public String Title { get; } #Callout title displayed inline with the marker.
public InlineSequence TitleInlines { get; } #Parsed inline title content when available.
public String Body { get; } #Callout body text (can include multiple lines). When parsed child blocks are available, this is derived from them.
public virtual IReadOnlyList<IMarkdownBlock> ChildBlocks { get; } #Parsed body blocks when the callout is created by the reader. This exposes callout content as owned child blocks for AST-style consumers.
SyntaxChildren #Optional parsed body blocks. When present (produced by MarkdownReader), HTML/Markdown rendering uses these blocks instead of the raw Body string.
Inherited Properties
public MarkdownObject Parent { get; } #Inherited from MarkdownObject
public MarkdownDoc Document { get; } #Inherited from MarkdownObject
public MarkdownObject Root { get; } #Inherited from MarkdownObject
public Nullable<Int32> IndexInParent { get; } #Inherited from MarkdownObject
public MarkdownObject PreviousSibling { get; } #Inherited from MarkdownObject
public MarkdownObject NextSibling { get; } #Inherited from MarkdownObject
public Nullable<MarkdownSourceSpan> SourceSpan { get; set; } #Inherited from MarkdownObject
public IReadOnlyList<MarkdownObject> ChildObjects { get; } #Inherited from MarkdownObject