Elm-markdown 7.0.0 with nested list parsing!

dillonkearns/elm-markdown 7.0.0 is out, and we now have the final major parsing functionality implemented in our pure Elm markdown parser! The big new parsing feature is nested list parsing, and there are several other markdown spec cases handled as well.

A huge thank you to Jinyi who has worked hard on this project for Google Summer of Code and moved this project forward tremendously this summer. And also a big thank you to @klaftertief who did some initial work on nested list parsing. This project overall has had so many contributors and is really a community effort, so thanks to everyone who has contributed code, ideas, and bug reports, it’s been incredible to see the care that people have put into pushing this project forward.

We run the full ComonMark and GitHub-Flavored Markdown spec as automated tests, and you can see all the Passing Specs. We now have almost full markdown compliance except for GFM autolinks, and a few cases where we intentionally diverge to support custom HTML parsing that behaves more like regular HTML parsing.

I will need to go through in a few places and mark intentionally diverging spec cases separately to reduce noise in the failing specs folder, and I’m planning to solidify the way the HTML parsing works and clarify some design decisions there soon. If you’re interested, you can peruse the folder of the failing spec cases, and feel free to organize it into an issue or work on a fix as well!

Here’s an Ellie that you can play around with using the default HTML renderer: https://ellie-app.com/f4BBVvXJGkMa1.

And here’s an example with a custom elm-ui renderer: https://ellie-app.com/f4C3NJW42BGa1.

30 Likes

Awesome! Thanks to Jinyi, @klaftertief and all the other contributors. Just updated without any issue and now have nested lists, which just last week I needed! :tada:

4 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.