-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Message Composition: Parse Markdown and send HTML #282
Comments
This library seems like it could do the job quite well: https://github.com/JohnSundell/Ink |
Or this one, probably makes more sense than an arbitrary custom parser: https://github.com/apple/swift-cmark |
Also AttributedString, but it does not seem to have anything to output html, only to render markdown |
The HTML generated by |
Finally, for editing, the message composition field should probably be a rich text field as well, so that users can also just bold/italic the text. So the HTML renderer is (should be) not just "Markdown to HTML", but "Markdown + AttributedString attributes to HTML". |
Do you have api doc for cmark-swift (or a link to a project which uses it)? The |
Presumably those "mx" tags would be produced by typing I say "should", because this is quite a bit of work to get right :-) |
It's also there for Blockquote Stuff like |
See #281.
The text was updated successfully, but these errors were encountered: