4 ms·
As someone that implement this right now in my block editor[1] I must say it's a HUGE pain in the ass. Synchronizing the underlying plaintext/markdown with the
by rubymamis 3y ago
As someone that implement this right now in my block editor[1] I must say it's a HUGE pain in the ass. Synchronizing the underlying plaintext/markdown with the rendered rich-text/HTML is a big undertaking. Especially so, since Qt's QML TextEdit conversion between its rendered HTML and Markdown is so inconsistent and broken. I've been thinking of ditching it, but I might persevere and continue to try.
[1] https://www.get-plume.com/ https://www.get-plume.com/
- eslaught 3y agoI totally get that. I'm just one person, but for me, this was the feature that made me switch to a minimalist text editor for writing. Otherwise, why not stick with Emacs? Plain text with light syntax highlighting is something Emacs already does fine, it's relatively distraction free, it has keyboard shortcuts I've already memorized forward and backwards.... The biggest downside is that I have to pop over to another window to get proper syntax rendering and to be 100% sure it's parsing the way I expect. Anyway, just my two cents. I could totally understand it not being worth the effort to implement, but when it works, it's really nice.