MarkdownReferenceLinkDefinition
OfficeIMO.Markdown
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.
Returned or exposed by 4
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
- url string
- title string?
- sourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null
- labelSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null
- urlSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null
- titleSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null
- openingMarkerSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null
- separatorMarkerSourceSpan OfficeIMO.Markdown.MarkdownSourceSpan? = null
Inherited Methods
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 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.