Skip to content

Commit db11132

Browse files
fix(links): show pointing hand cursor
1 parent 723249a commit db11132

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/MarkdownUI/Renderer/AttributedStringInlineRenderer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ private struct AttributedStringInlineRenderer {
131131
let savedAttributes = self.attributes
132132
self.attributes = self.textStyles.link.mergingAttributes(self.attributes)
133133
self.attributes.link = URL(string: destination, relativeTo: self.baseURL)
134+
self.attributes.cursor = .pointingHand
134135

135136
for child in children {
136137
self.render(child)

0 commit comments

Comments
 (0)