Post

Replies

Boosts

Views

Activity

Reply to New lines not being rendered in SwiftUI's markdown
This issue appears to have been fixed on Monterey Beta 3. You have to add the .inlineOnlyPreservingWhitespace option when initialising the AttributedString. struct MarkdownTest: View {     let attrStr = try! AttributedString(markdown: "Hello **World**!\n[This is a link](www.google.com)", options: AttributedString.MarkdownParsingOptions(interpretedSyntax: .inlineOnlyPreservingWhitespace))     var body: some View {         Text(attrStr)             .padding()     } }
Topic: App & System Services SubTopic: General Tags:
Jul ’21
Reply to New lines not being rendered in SwiftUI's markdown
This issue appears to have been fixed on Monterey Beta 3. You have to add the .inlineOnlyPreservingWhitespace option when initialising the AttributedString. struct MarkdownTest: View {     let attrStr = try! AttributedString(markdown: "Hello **World**!\n[This is a link](www.google.com)", options: AttributedString.MarkdownParsingOptions(interpretedSyntax: .inlineOnlyPreservingWhitespace))     var body: some View {         Text(attrStr)             .padding()     } }
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’21
Reply to Shortcuts Events process isn't running - AppleScript fails
Update: AppleScripting isn't supported in the first beta of Monterey, hence the errors.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’21