OfficeIMO

API Reference

Class

CalloutBlock

Namespace OfficeIMO.Markdown
Assembly OfficeIMO.Markdown
Implements
IMarkdownBlock IChildMarkdownBlockContainer ISyntaxChildrenMarkdownBlock IOwnedSyntaxChildrenMarkdownBlock ISyntaxMarkdownBlock
Modifiers sealed

Docs/Markdown-style callout (admonition) block. Renders using "> [!KIND] Title" followed by indented content lines.

Inheritance

Constructors

public CalloutBlock(String kind, String title, String body) #

Creates a callout with the specified kind, title and body.

Parameters

kind System.String requiredposition: 0
title System.String requiredposition: 1
body System.String requiredposition: 2

Methods

OfficeIMO#Markdown#IMarkdownBlock#RenderHtml() #
OfficeIMO#Markdown#IMarkdownBlock#RenderMarkdown() #

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.