Post

Replies

Boosts

Views

Activity

Comment on SwiftUI: Markdown support for string variables
You need to pass an option to preserve the whitespace like so: AttributedString(markdown: "Your *text*", options: MarkdownParsingOptions(interpretedSyntax: .inlineOnlyPreservingWhitespace))
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’21