13 releases
| new 0.4.0 | Dec 22, 2025 |
|---|---|
| 0.3.8 | Oct 29, 2024 |
| 0.3.3 | Mar 3, 2024 |
| 0.3.2 | Dec 1, 2023 |
| 0.3.0 | Nov 29, 2023 |
#942 in Text processing
Used in mdbook-typst
120KB
2.5K
SLoC
Pullup
Pullup converts between pulldown parser events for various markup formats.
Currently supported markup formats:
Formats are disabled by default and must be enabled via features before use.
How to use the crate
- Parse markup with a format-specific pulldown parser (for example,
pulldown_cmarkis used to parse Markdown). The parser creates an iterator of markup-specificEvents. - Load the format-specific
Events into the multi-formatParserEventprovided by this crate.- Iterator adaptors to do so are available in the
assertmodule.
- Iterator adaptors to do so are available in the
- Operate on the
ParserEvents. - Strip irrelevant
ParserEventsand output to a different format.
Dependencies
~0–16MB
~151K SLoC