heyman / heynote

A dedicated scratchpad for developers
https://heynote.com
Other
4.01k stars 200 forks source link

Question: How can I convert the buffer.text from plain text to JSON #257

Closed JJack27 closed 3 months ago

JJack27 commented 3 months ago

Hi @heyman, I'm planning to refactor the content of buffer.txt from plain text to json. I'm wondering where should I start?

heyman commented 3 months ago

You need to look into how Lezer and CodeMirror - which powers Heynote - works. Please note that I'm not interested in implementing this change into Heynote.