# MarkdownAbbreviationDefinition

Markdig-style abbreviation definition collected while parsing, such as *[HTML]: Hyper Text Markup Language.

Class 

`OfficeIMO.Markdown`

**Namespace**

`OfficeIMO.Markdown`

**Assembly**

`OfficeIMO.Markdown`

**Source revision**

`b95aedcec038` with working tree changes

**Source**

[MarkdownReaderState.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Reader/MarkdownReaderState.cs#L90)

**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.

### Returned or exposed by 4

- Property [MarkdownNativeAbbreviationDefinitionField.Definition](/api/markdown/officeimo-markdown-markdownnativeabbreviationdefinitionfield/#property-definition)
- Method [MarkdownNativeDocument.FindAbbreviationDefinitionAtPosition](/api/markdown/officeimo-markdown-markdownnativedocument/#method-findabbreviationdefinitionatposition-int32-int32)
- Property [MarkdownNativeDocument.AbbreviationDefinitions](/api/markdown/officeimo-markdown-markdownnativedocument/#property-abbreviationdefinitions)
- Property [MarkdownParseInfo.AbbreviationDefinitions](/api/markdown/officeimo-markdown-markdownparseinfo/#property-abbreviationdefinitions)

### Accepted by parameters 4

- Method [MarkdownNativeDocument.CreateReplaceEdit](/api/markdown/officeimo-markdown-markdownnativedocument/#method-createreplaceedit-officeimo-markdown-markdownabbreviationdefinition-string) parameter `abbreviationDefinition`
- Method [MarkdownNativeDocument.TryCreateOriginalSourceSlice](/api/markdown/officeimo-markdown-markdownnativedocument/#method-trycreateoriginalsourceslice-officeimo-markdown-markdownabbreviationdefinition-officeimo-markdown-markdownsourceslice) parameter `abbreviationDefinition`
- Method [MarkdownNativeDocument.TryCreateSourceMapping](/api/markdown/officeimo-markdown-markdownnativedocument/#method-trycreatesourcemapping-officeimo-markdown-markdownabbreviationdefinition-officeimo-markdown-markdownsourcemapping) parameter `abbreviationDefinition`
- Method [MarkdownNativeDocument.TryCreateSourceSlice](/api/markdown/officeimo-markdown-markdownnativedocument/#method-trycreatesourceslice-officeimo-markdown-markdownabbreviationdefinition-officeimo-markdown-markdownsourceslice) parameter `abbreviationDefinition`

Filter members 

Show inherited

## 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)` [#](#member-9c24c5eda29b7577c80e8ee3)

[MarkdownReaderState.cs:90](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Reader/MarkdownReaderState.cs#L90)

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**

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Label { get; }` [#](#property-label)

[MarkdownReaderState.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Reader/MarkdownReaderState.cs#L65)

Source spelling that should be expanded when it appears as a standalone inline token.

`public string Title { get; }` [#](#property-title)

[MarkdownReaderState.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Reader/MarkdownReaderState.cs#L68)

Title rendered on the resulting <abbr> element.

`public MarkdownSourceSpan? SourceSpan { get; }` [#](#property-sourcespan)

[MarkdownReaderState.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Reader/MarkdownReaderState.cs#L71)

Source span for the entire abbreviation definition, when available.

`public MarkdownSourceSpan? LabelSourceSpan { get; }` [#](#property-labelsourcespan)

[MarkdownReaderState.cs:74](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Reader/MarkdownReaderState.cs#L74)

Source span for the abbreviation label token, when available.

`public MarkdownSourceSpan? OpeningMarkerSourceSpan { get; }` [#](#property-openingmarkersourcespan)

[MarkdownReaderState.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Reader/MarkdownReaderState.cs#L77)

Source span for the opening *[ marker, when available.

`public MarkdownSourceSpan? SeparatorMarkerSourceSpan { get; }` [#](#property-separatormarkersourcespan)

[MarkdownReaderState.cs:80](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Reader/MarkdownReaderState.cs#L80)

Source span for the closing ]: marker, when available.

`public MarkdownSourceSpan? TitleSourceSpan { get; }` [#](#property-titlesourcespan)

[MarkdownReaderState.cs:83](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Reader/MarkdownReaderState.cs#L83)

Source span for the title token, when available.

`public bool IsListItemDefinition { get; }` [#](#property-islistitemdefinition)

[MarkdownReaderState.cs:86](https://github.com/EvotecIT/OfficeIMO/blob/b95aedcec0386799661f873d61f214ac21551de0/OfficeIMO.Markdown/Reader/MarkdownReaderState.cs#L86)

Whether the definition was authored as leading content inside a list item.

<!-- PowerForge markdown artifact sha256:99C33581E32848144C1EA062BD6708EE4AA97543105D2C681DE056A1EE763000 -->
