type
LinkInfo
A parsed link/image. There are different types of links.
Inline links:
[text](destination) [text](destination "title")
Reference links, which have different subtypes. Full:
[text][label]
Collapsed (label is ""):
[text][]
Shorcut (label is null):
[text]
Images use the same syntax as links but with a !
marker front, e.g. ![text](destination)
.
methods
afterTextBracket |
The position after the closing text bracket, e.g |
---|---|
destination |
The destination if available, e.g. |
label |
The label, or null for inline links or for shortcut links (in which case |
marker |
The marker if present, or null. |
openingBracket |
The text node of the opening bracket |
text |
The text between the first brackets, e.g. |
title |
The title if available, e.g. |