feat: allow for custom link resolving
This commit is contained in:
parent
075f3bab6d
commit
417b814e85
2 changed files with 5 additions and 1 deletions
|
@ -329,7 +329,7 @@ func (d *Document) parseRegularLink(input string, start int) (int, Node) {
|
|||
if len(linkParts) == 2 {
|
||||
protocol = linkParts[0]
|
||||
}
|
||||
return consumed, RegularLink{protocol, description, link, false}
|
||||
return consumed, d.ResolveLink(protocol, description, link)
|
||||
}
|
||||
|
||||
func (d *Document) parseTimestamp(input string, start int) (int, Node) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue