API Reference
CalloutBlock
Docs/Markdown-style callout (admonition) block. Renders using "> [!KIND] Title" followed by indented content lines.
Inheritance
- MarkdownBlock
- CalloutBlock
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property MarkdownNativeCalloutBlock.Callout
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) #VoidParameters
- visitor MarkdownVisitor
public IEnumerable<MarkdownObject> Ancestors() #IEnumerable<MarkdownObject>public IEnumerable<MarkdownObject> AncestorsAndSelf() #IEnumerable<MarkdownObject>public IEnumerable<TObject> DescendantObjectsOfType<TObject>() #IEnumerable<TObject>Type Parameters
- TObject
public IEnumerable<MarkdownObject> Descendants() #IEnumerable<MarkdownObject>public override Boolean Equals(Object obj) #BooleanParameters
- 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; } #public MarkdownDoc Document { get; } #public MarkdownObject Root { get; } #public Nullable<Int32> IndexInParent { get; } #public MarkdownObject PreviousSibling { get; } #public MarkdownObject NextSibling { get; } #public Nullable<MarkdownSourceSpan> SourceSpan { get; set; } #public IReadOnlyList<MarkdownObject> ChildObjects { get; } #