AmmarAbouZor / tui-journal

Your journal app if you live in a terminal
https://crates.io/crates/tui-journal
MIT License
314 stars 9 forks source link

Can the editor support for highlighting markdown syntax? #414

Open qijimrc opened 2 weeks ago

qijimrc commented 2 weeks ago

Great work! When I was using this app to write my own notes, I was curious about that if the editor can support for a specific syntax, like Markdown. So that I can enjoy the clear hierarchical contents.

AmmarAbouZor commented 1 week ago

Hi @qijimrc and sorry for the late response...

In the current app architecture it's not possible to build more features on the built-in Editor because we are using the lib tui-textarea for it and we can't build more feature into it.

But I was thinking of changing the architecture and use the editor in the edit mode only which would open up the opportunity to use another widget to render markdown syntax in the terminal...