Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
mistletoe-1.1.0-py3-none-any.whl | 2023-06-11 | 48.8 kB | |
README.md | 2023-06-11 | 1.1 kB | |
v1.1.0 source code.tar.gz | 2023-06-11 | 116.3 kB | |
v1.1.0 source code.zip | 2023-06-11 | 148.1 kB | |
Totals: 4 Items | 314.3 kB | 0 |
Added
MarkdownRenderer
- the long awaited renderer for outputting parsed AST back to the Markdown syntax (#4, [#162]). 🎉 For this, parsing was extended to store additional information about the input markdown.- New options to control whether
HTMLRenderer
should escape double and/or single quotes (#176).
Fixed
Token.__repr__()
no longer outputs class attributes (#172).- Make
Scheme
(scheme.py
) work again (7883f58d35b82). - Make CI work again (#121). Good news for both the maintainers and the contributors.
Changed
- "Simpler is better!": Revert back to
HTMLRenderer
not escaping single quotes by default (#176). Note that we plan to extend this to not escaping double quotes in the next version. - As a side effect of [#162], the AST token classes and parsing process was changed for more uniform behavior and API (#163).
ASTRenderer
no longer outputs all token attributes, but only those listed inToken.repr_attributes
(#172).
Special thanks go to @anderskaplan as the most active contributor of this release. 💪