Dallinger / Dallinger

Laboratory automation for the behavioral and social sciences; human culture on a chip.
https://dallinger.readthedocs.io/
MIT License
117 stars 36 forks source link

Update mdit-py-plugins to 0.4.2 #6881

Closed pyup-bot closed 2 months ago

pyup-bot commented 2 months ago

This PR updates mdit-py-plugins from 0.4.1 to 0.4.2.

Changelog ### 0.4.2 ``` - 👌 Improve parsing of nested amsmath The previous logic was problematic for amsmath blocks nested in other blocs (such as blockquotes) The new parsing code now principally follows the logic in `markdown_it/rules_block/fence.py` (see also <https://spec.commonmark.org/0.30/#fenced-code-blocks>), except that: 1. it allows for a closing tag on the same line as the opening tag, and 2. it does not allow for an opening tag without closing tag (i.e. no auto-closing) - ✨ Add `allowed` option for inline/block attributes The `allowed` option accepts a list of allowed attribute names. If not ``None``, any attributes not in this list will be removed and placed in the token's meta under the key `"insecure_attrs"`. ```
Links - PyPI: https://pypi.org/project/mdit-py-plugins - Changelog: https://data.safetycli.com/changelogs/mdit-py-plugins/