See also SwiftUI’s AttributedString, which can be directly instantiated from a string literal containing Markdown syntax.
Nitpick: AttributedString is a member of the Swift Foundation framework. It's not limited to SwiftUI.
https://developer.apple.com/documentation/foundation/attribu...