API Reference
LinkInline
Hyperlink inline.
Inheritance
- MarkdownInline
- LinkInline
Constructors
public LinkInline(String text, String url, String title, String linkTarget = null, String linkRel = null) #Creates a hyperlink inline.
Parameters
- text System.String
- url System.String
- title System.String
- linkTarget System.String = null
- linkRel System.String = null
Inherited Methods
public Void Accept(MarkdownVisitor visitor) #VoidParameters
- visitor MarkdownVisitor
public IEnumerable<MarkdownObject> Ancestors() #IEnumerable<MarkdownObject>public IEnumerable<MarkdownObject> AncestorsAndSelf() #IEnumerable<MarkdownObject>public IEnumerable<TObject> DescendantObjectsOfType<TObject>() #IEnumerable<TObject>Type Parameters
- TObject
public IEnumerable<MarkdownObject> Descendants() #IEnumerable<MarkdownObject>public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String Url { get; } #Destination URL.
public String Title { get; } #Optional title shown as a tooltip in HTML.
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 Nullable<MarkdownSourceSpan> UrlSourceSpan { get; set; } #Source span for the link URL token when parsed from markdown.
public Nullable<MarkdownSourceSpan> TitleSourceSpan { get; set; } #Source span for the optional link title token when parsed from markdown.
public Nullable<MarkdownSourceSpan> HtmlTargetSourceSpan { get; set; } #Source span for the optional HTML target attribute when imported from richer sources.
public Nullable<MarkdownSourceSpan> HtmlRelSourceSpan { get; 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 MarkdownObject Parent { get; } #public MarkdownDoc Document { get; } #public MarkdownObject Root { get; } #public Nullable<Int32> IndexInParent { get; } #public MarkdownObject PreviousSibling { get; } #public MarkdownObject NextSibling { get; } #public Nullable<MarkdownSourceSpan> SourceSpan { get; set; } #public MarkdownAttributeSet Attributes { get; } #public IReadOnlyList<MarkdownObject> ChildObjects { get; } #