-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Description
Example 481 of the commonmark spec shows the use of a title in a link:
[link](/uri "title")however I don't see the title property in the Link documentation
When I test, it seems as though the title is discarded:
let document = Document(parsing: "[link](/uri \"title\")")
print(document.debugDescription())Outputs:
Document
└─ Paragraph
└─ Link destination: "/uri"
└─ Text "link"
Title is supported for Images:
let document2 = Document(parsing: "")
print(document2.debugDescription())Outputs the title:
Document
└─ Paragraph
└─ Image source: "/url" title: "title"
└─ Text "foo"
Is this a version thing?
Thanks,
Damian
Metadata
Metadata
Assignees
Labels
No labels