nextcloud / neon

A framework for building convergent cross-platform Nextcloud clients using Flutter.
Other
126 stars 31 forks source link

Support markdown in chat messages #1929

Open provokateurin opened 6 months ago

provokateurin commented 6 months ago

This might be hard to implement because it has to work on top of our rich objects stuff.

provokateurin commented 4 months ago

Likely needs to use the low level APIs from https://github.com/flutter/packages/blob/main/packages/flutter_markdown/lib/src/builder.dart, but I think it should be possible. Alternatively we could reverse it and integrate our rich object rendering as custom elements in the markdown rendering. The second option is probably easier if it is possible, but makes us a lot more dependent on the flutter_markdown package which I don't like.