API Reference
AsciiDocDelimitedBlock
Source-preserving common AsciiDoc delimited block.
Inheritance
- AsciiDocBlock
- AsciiDocDelimitedBlock
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 AsciiDocCalloutGroup.CodeBlock
Methods
public AsciiDocDocument GetBody(CancellationToken cancellationToken = default) #AsciiDocDocumentLoads the typed compound body with cooperative cancellation; verbatim blocks have no child document.
Parameters
- cancellationToken System.Threading.CancellationToken = default
Inherited Methods
Properties
public AsciiDocDelimitedBlockKind Kind { get; } #Delimited block kind.
public String Delimiter { get; } #Opening and closing delimiter text without a line ending.
public String OpeningText { get; } #Exact original opening delimiter line.
public String ClosingText { get; } #Exact original closing delimiter line, or empty when unterminated.
public Boolean IsTerminated { get; } #True when a matching closing delimiter was present.
public virtual String Content { get; set; } #Content between delimiters, including its original internal line endings until edited.
public AsciiDocDocument Body { get; } #Typed editable child document for an example, sidebar, quote, or open block; null for verbatim blocks.
public override Boolean IsModified { get; } #True when this block or one of its editable children has changed.
public Nullable<AsciiDocAdmonitionKind> AdmonitionKind { get; } #Admonition kind for a styled compound block, when applicable.
public Boolean IsStem { get; } #True when this is a display STEM block.
Inherited Properties
public AsciiDocSyntaxNode Syntax { get; } #public AsciiDocSourceSpan Span { get; } #public String OriginalText { get; } #public IReadOnlyList<AsciiDocBlockAttributeList> AttributeLists { get; } #public AsciiDocBlockTitle BlockTitle { get; } #public AsciiDocBlockAnchor BlockAnchor { get; } #public String Style { get; } #