What does HackerNews think of marked?

A markdown parser and compiler. Built for speed.

Language: TypeScript

#31 in Compiler
#159 in Hacktoberfest
#14 in Markdown
Another contestant in this realm is Bright[1]. It runs entirely on the server and doesn't increase bundle size as seen here[2]. Regarding parsing speed tree-sitter is without a doubt performant since it is written in Rust, but I don't have any problems "parsing on every keystroke" with a setup containing Marked[3], highlight.js[4] and a sanitizer. I did however experience performance issues with other Markdown parser libraries than Marked.

[1]: https://bright.codehike.org/

[2]: https://aihelperbot.com/test-suite

[3]: https://github.com/markedjs/marked

[4]: https://highlightjs.org/

I think https://github.com/markedjs/marked would be one of the more popular libraries in this category
I've used marked for years, and it doesn't make any network calls. In fact, it looks like it does tons of regex.

https://github.com/markedjs/marked

This comes on top of Marked[1], so it is a dependency. Use with care.

From my experience any of the trio, Marked[1], Showdown[2] and Markdown-it[3], can be configured to just do it themselves.

As a side note, I built a markdown editor once that works client side and resides inside "real static" html.

Demo for the interested: http://public.docs.xstatic.site.s3-website-us-west-1.amazona...

[1] https://github.com/markedjs/marked

[2] https://github.com/showdownjs/showdown

[3] https://github.com/markdown-it/markdown-it