Consent document markdown doesn't appear to be working #97
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @viraj-galen, Thank you for raising this discussion and for using SpeziOnboarding in your app! 🚀 Currently, SwiftUI sadly does not support the full Markdown syntax for the These limitations are inherent to SwiftUI and cannot be circumvented at this time (except for using a custom UIKit-based Markdown renderer like https://github.com/gonzalezreal/swift-markdown-ui which comes with its own issues). We recognize this is not ideal and hope that future updates to SwiftUI will offer broader Markdown support. Please feel free to reach out if you have any further questions. |
Beta Was this translation helpful? Give feedback.
Hi @viraj-galen,
Thank you for raising this discussion and for using SpeziOnboarding in your app! 🚀
Currently, SwiftUI sadly does not support the full Markdown syntax for the
Text
view. While it handles most standard Markdown elements (as outlined here: https://www.avanderlee.com/swiftui/markdown-text/), it does not support rendering headings, numbered lists, or images, see here: https://www.appcoda.com/swiftui-markdown/These limitations are inherent to SwiftUI and cannot be circumvented at this time (except for using a custom UIKit-based Markdown renderer like https://github.com/gonzalezreal/swift-markdown-ui which comes with its own issues). We recognize this is not ideal and hope that…