pulldown-cmark is a pull-parsing library that transforms Markdown text into a stream of events based on the CommonMark specification. It functions as an event-based processor that represents document structure as an iterator of events rather than a concrete syntax tree, serving as both a parser and a renderer to convert Markdown into HTML strings.
The library is designed for memory efficiency by processing text as a stream to minimize resource usage. It supports programmatic document transformation, allowing users to map or filter the event stream before final rendering.
The project includes capabilities for tracking source offsets to link rendered output back to original byte ranges. It also supports extended Markdown syntax, providing the ability to parse and process non-standard elements such as tables and task lists.