Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlCommentBlock

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
0eef6a5756b9 with working tree changes
Modifiers
sealed

Represents an HTML comment preserved as a top-level Markdown block.

Inheritance

Constructors

public HtmlCommentBlock(string comment) #

Initializes a new instance of the HtmlCommentBlock class.

Parameters

comment string required
HTML comment content to preserve verbatim.

Properties

public string Comment { get; } #

Gets the raw HTML comment text, including the comment delimiters.

public MarkdownSourceSpan? OpeningMarkerSourceSpan { get; internal set; } #

Source span for the opening <!-- marker when available.

public MarkdownSourceSpan? BodySourceSpan { get; internal set; } #

Source span for the comment body when available.

public MarkdownSourceSpan? ClosingMarkerSourceSpan { get; internal set; } #

Source span for the closing --> marker when available.