Implement simple bevy-markdown renderer
Support markdown syntax in rectangle. Render markdown once a user stops editing rectangle.
Features:
- [x] bold text style
- [x] italic text style
- [x] links
- [ ] inline images
- [ ] headings
- [x] inline code
- [x] code block with syntax highlighting
- [x] ordered/unordered lists
- [ ] quotes
- [ ] tables
- [ ] strikethrough text
- [ ] checkboxes
Useful links:
- https://github.com/wooorm/markdown-rs
- https://github.com/trishume/syntect for syntax highlighting
- https://dillinger.io/
- https://commonmark.org/help/
Bold/italic/links implemented here: https://github.com/StaffEngineer/velo/pull/96
Basic syntax highlighting: https://github.com/StaffEngineer/velo/pull/99
Headers & inline code: https://github.com/StaffEngineer/velo/pull/109
Lists: https://github.com/StaffEngineer/velo/pull/122
Headings support was temporary removed due to migration to cosmic-text.
https://github.com/pop-os/cosmic-text/pull/150 should allow to return headings support back.