Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Release v0.4.2 #121

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Change Log

## 0.4.2 - 2024-09-09

- 👌 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"`.

## 0.4.1 - 2024-05-12

* 👌 Add option for footnotes references to always be matched
Expand Down
2 changes: 1 addition & 1 deletion mdit_py_plugins/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.1"
__version__ = "0.4.2"
Loading