LinkInline
OfficeIMO.Markdown
Hyperlink inline.
Inheritance
- MarkdownObject
- MarkdownInline
- LinkInline
Constructors
public LinkInline(string text, string url, string? title, string? linkTarget = null, string? linkRel = null) #Creates a hyperlink inline.
Parameters
- text string
- url string
- title string?
- linkTarget string? = null
- linkRel string? = null
Inherited Methods
public void Accept(MarkdownVisitor visitor) #Parameters
- visitor MarkdownVisitor
public IEnumerable<MarkdownObject> Ancestors() #Returns
IEnumerable<MarkdownObject>public IEnumerable<MarkdownObject> AncestorsAndSelf() #Returns
IEnumerable<MarkdownObject>public IEnumerable<TObject> DescendantObjectsOfType<TObject>() #Type Parameters
- TObject
Returns
IEnumerable<TObject>public IEnumerable<MarkdownObject> Descendants() #Returns
IEnumerable<MarkdownObject>Properties
public string? LinkTarget { get; } #Optional HTML target attribute preserved from richer sources.
public string? LinkRel { get; } #Optional HTML rel attribute preserved from richer sources.
public MarkdownSourceSpan? UrlSourceSpan { get; internal set; } #Source span for the link URL token when parsed from markdown.
public MarkdownSourceSpan? TitleSourceSpan { get; internal set; } #Source span for the optional link title token when parsed from markdown.
public MarkdownSourceSpan? HtmlTargetSourceSpan { get; internal set; } #Source span for the optional HTML target attribute when imported from richer sources.
public MarkdownSourceSpan? HtmlRelSourceSpan { get; internal set; } #Source span for the optional HTML rel attribute when imported from richer sources.
public InlineSequence? LabelInlines { get; } #Optional richer inline representation of the link label when the reader parsed nested formatting. When present, renderers and converters can preserve label formatting instead of flattening to plain text.
Inherited Properties
public MarkdownSourceSpan? SourceSpan { get; internal set; } #public IReadOnlyList<MarkdownObject> ChildObjects { get; } #