Open benjitusk opened 2 years ago
Hi @benjitusk,
What would be the use case? It would be to render Markdown as a read only Text?
Yes, exactly that
Isn't this covered by the SwiftUI Text
component?
Not quite. your markdown editor has much more extensive support for markdown than SwiftUI Text
I see, wouldn't a non-editable SwiftDownEditor make the trick?
I think the best solution here would be to recreate the behaviour of SwiftDownEditor
in an UILabel
but it might take some time to implement
Can you release a swift package of the markdown engine? as in, an independent library I can import to use your markdown styling. For example, I'd like to use something like this: