gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.26k stars 267 forks source link

Open in-app browser #60

Closed shahla00 closed 2 years ago

shahla00 commented 2 years ago

It will be nice if there is a way to give custom actions to links instead of always opening in Safari. For our use, we want to open SFSafariViewController but MarkdownUI does not have that ability!

I implemented it through custom urls, but it is an ugly hack and I shouldn't have to do that.

gonzalezreal commented 2 years ago

Duplicate of #52

gonzalezreal commented 2 years ago

Hi @shahla00, This has been already discussed in #52. I will reopen #52 and continue the discussion there. Thanks!