News for hackers. Stuff that matters.
Re:Show HN: A renderless and extendable rich-text editor for... by billconan on Saturday May 25, 2019 @08:37AM (#20008662)
This is really cool! and I really want to adopt it. I have a question though, can the data be represented as markdown, instead of html and json?

My current editor is monaco and the format is markdown. Monaco is too heavy, I want something closer to what Medium.com has. This renderless rich-text editor looks perfect. But my backend accepts only markdown ...

And I also need to support math equations ...

Re:Show HN: A renderless and extendable rich-text editor for... by philippkuehn on Saturday May 25, 2019 @02:37PM (#20010504)
There is already a feature request about markdown support. You can follow that issue on github. At the moment I'm not sure if this will land in tiptap.
Re:Show HN: A renderless and extendable rich-text editor for... by lol768 on Saturday May 25, 2019 @11:58AM (#20009694)
>can the data be represented as markdown

Sounds like a niche enough requirement that you'd be better off writing some form of transformation logic for your needs that can produce a markdown approximation from the JSON structure that the editor generates.