Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Probably prosemirror. I don't know that it's built in by default, but it's well within prosemirror's model, so it shouldn't require a large investment to use.

That said, prosemirror's got a pretty steep learning curve.



Nothing is built into ProseMirror except for the text span.

For a definition list, you’d probably want two node types: a definition list, and a definition list item.

And then create toDOM and parseDOM methods to render and parse respectively the html you want.


Isn't the "flat markup" for inline elements in prosemirror kind of unnatural to work on html?




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: