MarkdownNativeHtmlBlock
OfficeIMO.Markdown
Native projection for raw HTML and HTML comments.
Inheritance
- MarkdownNativeBlock
- MarkdownNativeHtmlBlock
Inherited Methods
public bool ContainsLine(int lineNumber) #Parameters
- lineNumber int
Returns
boolpublic IEnumerable<MarkdownNativeBlockSourceField> EnumerateSourceFields() #Returns
IEnumerable<MarkdownNativeBlockSourceField>public IEnumerable<MarkdownNativeBlockSourceField> EnumerateSourceFields(string name) #Parameters
- name string
Returns
IEnumerable<MarkdownNativeBlockSourceField>public MarkdownNativeBlockSourceField? FindSourceField(string name, int index = -1) #Parameters
- name string
- index int = -1
Returns
MarkdownNativeBlockSourceField?public MarkdownNativeBlockInfo ToSnapshot() #Returns
MarkdownNativeBlockInfoProperties
public bool IsComment { get; } #Whether this block came from an HTML comment.
public string? OpeningTag { get; } #Opening raw HTML tag for recognized raw HTML tag-frame blocks.
public string? OpeningMarker { get; } #Opening raw HTML marker for recognized non-tag raw HTML frames.
public string? Body { get; } #Body content between recognized raw HTML opening and closing tags.
public string? ClosingMarker { get; } #Closing raw HTML marker for recognized non-tag raw HTML frames.
public string? ClosingTag { get; } #Closing raw HTML tag for recognized raw HTML tag-frame blocks.
public MarkdownSourceSpan? OpeningTagSourceSpan { get; } #Source span for a recognized raw HTML opening tag.
public MarkdownSourceSpan? RawOpeningMarkerSourceSpan { get; } #Source span for a recognized raw HTML opening marker.
public MarkdownSourceSpan? RawBodySourceSpan { get; } #Source span for body content between recognized raw HTML opening and closing tags.
public MarkdownSourceSpan? RawClosingMarkerSourceSpan { get; } #Source span for a recognized raw HTML closing marker.
public MarkdownSourceSpan? ClosingTagSourceSpan { get; } #Source span for a recognized raw HTML closing tag.
public string? CommentBody { get; } #HTML comment body without opening or closing comment markers when this block is an HTML comment.
public MarkdownSourceSpan? OpeningMarkerSourceSpan { get; } #Source span for the opening <!-- marker when this block is an HTML comment.
public MarkdownSourceSpan? BodySourceSpan { get; } #Source span for the HTML comment body when this block is an HTML comment.
public MarkdownSourceSpan? ClosingMarkerSourceSpan { get; } #Source span for the closing --> marker when this block is an HTML comment.
Inherited Properties
public MarkdownNativeBlockKind Kind { get; } #public MarkdownSourceSpan? SourceSpan { get; } #public MarkdownSyntaxNode SyntaxNode { get; } #public IMarkdownBlock SourceBlock { get; } #