MarkdownAbbreviationDefinition
OfficeIMO.Markdown
Markdig-style abbreviation definition collected while parsing, such as *[HTML]: Hyper Text Markup Language.
Inheritance
- object
- MarkdownAbbreviationDefinition
Usage
Explore 8 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
Accepted by parameters 4
Constructors
public MarkdownAbbreviationDefinition(string label, string title, MarkdownSourceSpan? sourceSpan = null, MarkdownSourceSpan? labelSourceSpan = null, MarkdownSourceSpan? titleSourceSpan = null, MarkdownSourceSpan? openingMarkerSourceSpan = null, MarkdownSourceSpan? separatorMarkerSourceSpan = null, bool isListItemDefinition = false) #Creates an abbreviation definition descriptor.
Parameters
- label string
- title string
- sourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null
- labelSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null
- titleSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null
- openingMarkerSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null
- separatorMarkerSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null
- isListItemDefinition bool = false
Inherited Methods
Properties
public string Label { get; } #Source spelling that should be expanded when it appears as a standalone inline token.
public string Title { get; } #Title rendered on the resulting <abbr> element.
public MarkdownSourceSpan? SourceSpan { get; } #Source span for the entire abbreviation definition, when available.
public MarkdownSourceSpan? LabelSourceSpan { get; } #Source span for the abbreviation label token, when available.
public MarkdownSourceSpan? OpeningMarkerSourceSpan { get; } #Source span for the opening *[ marker, when available.
public MarkdownSourceSpan? SeparatorMarkerSourceSpan { get; } #Source span for the closing ]: marker, when available.
public MarkdownSourceSpan? TitleSourceSpan { get; } #Source span for the title token, when available.
public bool IsListItemDefinition { get; } #Whether the definition was authored as leading content inside a list item.