Skip to content

Commit 2236898

Browse files
authored
πŸš€ Release v0.4.2 (#121)
1 parent 10d5b4d commit 2236898

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

β€ŽCHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# Change Log
22

3+
## 0.4.2 - 2024-09-09
4+
5+
- πŸ‘Œ Improve parsing of nested amsmath
6+
7+
The previous logic was problematic for amsmath blocks nested in other blocs (such as blockquotes)
8+
9+
The new parsing code now principally follows the logic in `markdown_it/rules_block/fence.py`
10+
(see also <https://spec.commonmark.org/0.30/#fenced-code-blocks>),
11+
except that:
12+
13+
1. it allows for a closing tag on the same line as the opening tag, and
14+
2. it does not allow for an opening tag without closing tag (i.e. no auto-closing)
15+
16+
- ✨ Add `allowed` option for inline/block attributes
17+
18+
The `allowed` option accepts a list of allowed attribute names.
19+
If not ``None``, any attributes not in this list will be removed
20+
and placed in the token's meta under the key `"insecure_attrs"`.
21+
322
## 0.4.1 - 2024-05-12
423

524
* πŸ‘Œ Add option for footnotes references to always be matched

β€Žmdit_py_plugins/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.4.1"
1+
__version__ = "0.4.2"

0 commit comments

Comments
Β (0)