Through the course of building Indie Courses, I have tried many What-You-See-Is-What-You-Get (WYSIWYG) editors. I tried Trix, TipTap, Quill, CKEditor, StacksEditor, Lexical, and some Iβve forgotten. All of them worked, but sadly none of them supported my main use-case well: reliable code syntax highlighting.
The most promising one was ProseMirror and its code-focused sibling, CodeMirror. However, both require quite a bit of custom JavaScript, and eventually, I decided against them in favour of a much simpler alternative: A GitHub-style Markdown Editor.
Hereβs how I built it.
continue reading on indiecourses.com
β οΈ This post links to an external website. β οΈ
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.