Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownAbbreviationDefinition

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
7fbbd72e7c5a with working tree changes
Modifiers
sealed

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.

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 required
title string required
sourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null optional
labelSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null optional
titleSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null optional
openingMarkerSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null optional
separatorMarkerSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null optional
isListItemDefinition bool = false optional

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.