Highlighted Text #332
Answered
by
mbrandonw
StewartLynch
asked this question in
Q&A
-
|
I am wondering about the need to create the private highlight function Instead of can you not just use the following where you use the Text view initializer. This will render any markdown if it exists within the view. |
Beta Was this translation helpful? Give feedback.
Answered by
mbrandonw
Jan 7, 2026
Replies: 1 comment
-
|
Hi @StewartLynch, there's a chance there is a shorter way to display that markdown text in SwiftUI than what we did in the episode. We haven't fully explored all the possibilities for rendering markdown. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
StewartLynch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @StewartLynch, there's a chance there is a shorter way to display that markdown text in SwiftUI than what we did in the episode. We haven't fully explored all the possibilities for rendering markdown.