Omg exactly what i need (and what i thought about creating myself).

I built my parser based on applesauce implementation (using unifiedjs).

Did you use https://github.com/unifiedjs/unified too ?

Reply to this note

Please Login to reply.

Discussion

I just winged it, with some typescript. I initially went with markdown-it library, but I had so many special things that I could barely use it and gave up.

We're going to spin it out, along with the tests. so that other people can also use it and we can implement it in all of our products.

I know it looks really simple, but it took weeks to build, and I'll probably be tinkering away on it, indefinitely.

The code syntax is from highlight.js.

https://highlightjs.org/