Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

MarkdownReferenceLinkDefinition

OfficeIMO.Markdown

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

Reference-style link definition collected while parsing, such as [label]: https://example.com "Title".

Inheritance

  • object
  • MarkdownReferenceLinkDefinition

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 MarkdownReferenceLinkDefinition(string label, string url, string? title, MarkdownSourceSpan? sourceSpan = null, MarkdownSourceSpan? labelSourceSpan = null, MarkdownSourceSpan? urlSourceSpan = null, MarkdownSourceSpan? titleSourceSpan = null, MarkdownSourceSpan? openingMarkerSourceSpan = null, MarkdownSourceSpan? separatorMarkerSourceSpan = null) #

Creates a reference-style link definition descriptor.

Parameters

label string required
url string required
title string? required
sourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null optional
labelSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null optional
urlSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null optional
titleSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null optional
openingMarkerSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null optional
separatorMarkerSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null optional

Properties

public string Label { get; } #

Normalized reference label used for matching reference-style links and images.

public string Url { get; } #

Resolved destination URL after reader profile URL handling.

public string? Title { get; } #

Optional definition title.

public MarkdownSourceSpan? SourceSpan { get; } #

Source span for the entire reference-style definition, when available.

public MarkdownSourceSpan? LabelSourceSpan { get; } #

Source span for the definition label token, when available.

public MarkdownSourceSpan? OpeningMarkerSourceSpan { get; } #

Source span for the opening [ marker before the definition label, when available.

public MarkdownSourceSpan? SeparatorMarkerSourceSpan { get; } #

Source span for the ]: marker after the definition label, when available.

public MarkdownSourceSpan? UrlSourceSpan { get; } #

Source span for the destination token, when available.

public MarkdownSourceSpan? TitleSourceSpan { get; } #

Source span for the optional title token, when available.