4 ms·
For just rendering (no editing) you could use https://github.com/litehtml/litehtml https://github.com/litehtml/litehtml (C) or https://github.com/DioxusLabs/bli
by nicoburns 5mo ago
For just rendering (no editing) you could use https://github.com/litehtml/litehtml https://github.com/litehtml/litehtml (C) or https://github.com/DioxusLabs/blitz https://github.com/DioxusLabs/blitz (Rust).
Both are actually lightweight HTML rendering libraries, so you need to compile markdown to HTML to use them. But there are many libraries for that.
- cyber_kinetist 5mo agoDoes it mix well with text input? What I really want is a native WYSIWYG Markdown editor - in a similar fashion to Typora (Electron) or Milkdown (a JS library).
- nicoburns 5mo agoBlitz has good plaintext text input support. But there's no contenteditable (which is what you would need for rich text editing) yet. litehtml appears to have no built-in text input support so far as I can see.
- bobajeff 5mo agoThe link says litehtml is C++. I can't tell if it exposes an FFI (I bet not) Of course blitz doesn't expose a FFI either and also if you need anything interactive you have to use the dioxius framework or implement you own APIs for that as well as take care of animation yourself.