Re:Show HN: Edna, note taking app for developers
by jxy on Monday July 01, 2024 @11:32PM
(#40853313)
This is slick. Are there plans for rendering LaTeX equations and/or diagrams/flowcharts, such as mathjax and/or mermaid.js?
[ Parent
| on HN ]
Re:Show HN: Edna, note taking app for developers
by kjksf on Tuesday July 02, 2024 @10:11AM
(#40856881)
It's a possibility but I'm not using those myself so I don't have good intuition on what is a good UI for that.
A relatively simple thing would be to add "preview block" which e.g. for mermaid blocks would add a panel with rendered diagram.
A much more complicated solution would be to add codemirror view which renders diagram when cursor is outside the markup and switches to editing when inside markup.
But that's significantly more complicated.
Re:Show HN: Edna, note taking app for developers
by jxy on Tuesday July 02, 2024 @03:37PM
(#40859799)
For equations and flowcharts, I would argue that the rendering is more important than the textual "code", so a "preview block" with rendered output would be very useful already.
A much better UI would be something like what you described, such as
- https://github.com/benrbray/prosemirror-math?tab=readme-ov-f...