markdown-it
Markdown parser, done right. 100% CommonMark support, extensions
...It is widely used in web applications, documentation tools, and content platforms due to its high performance and flexibility. The library is built with a rule-based parsing system that allows developers to customize or replace syntax rules, making it adaptable to a wide variety of use cases. It also supports plugins that extend functionality, such as adding emoji support, footnotes, or custom containers, enabling highly tailored rendering pipelines. markdown-it emphasizes security by default, ensuring that generated HTML is safe for use in web environments without introducing vulnerabilities. ...