visual-space / visual-editor

Rich text editor for Flutter based on Delta format (Quill fork)
MIT License
290 stars 47 forks source link

How to render h1 when typing in `# ` #223

Closed lbhfuture closed 1 year ago

lbhfuture commented 1 year ago

I want to implement WYSIWYG with markdown syntax, such as auto rendering h1 when typing in #(# and followed by a whitespace). I cannot found somewhere to tell me how to do it, could you tell me some tips or demo codes? Thanks.

adrian-moisa commented 1 year ago

There are 2 ways of doing it:

tldr: for now no support in VE but will be added later, ETA end of year. Unless you want to tackle the problem yourself and speed up the process. We are stuck with many other duties. VE is just a small part of a bigger project we run and some VE tasks have been delayed. That's why we did not even publish it yet on pub dev.

lbhfuture commented 1 year ago

Thanks for your replying and your works in VE.