diff --git a/CHANGELOG.md b/CHANGELOG.md index d1308b8..972d339 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change Log +## 0.3.2 - 2022-12-05 + +- ✨ NEW: Port `admon` plugin by @KyleKing ([#53](https://github.com/executablebooks/mdit-py-plugins/pull/53)) +- ✨ NEW: Add span parsing to inline attributes plugin by @chrisjsewell ([#55](https://github.com/executablebooks/mdit-py-plugins/pull/55)) +- 🐛 FIX: Task list item marker can be followed by any GFM whitespace by @hukkin in ([#42](https://github.com/executablebooks/mdit-py-plugins/pull/42)) + +**Full Changelog**: [v0.3.1...v0.4.0](https://github.com/executablebooks/mdit-py-plugins/compare/v0.3.1...v0.4.0) + ## 0.3.1 - 2022-09-27 - ⬆️ UPGRADE: Drop Python 3.6, support Python 3.10 diff --git a/mdit_py_plugins/__init__.py b/mdit_py_plugins/__init__.py index 260c070..f9aa3e1 100644 --- a/mdit_py_plugins/__init__.py +++ b/mdit_py_plugins/__init__.py @@ -1 +1 @@ -__version__ = "0.3.1" +__version__ = "0.3.2" diff --git a/mdit_py_plugins/attrs/index.py b/mdit_py_plugins/attrs/index.py index 7150e5d..9f7f881 100644 --- a/mdit_py_plugins/attrs/index.py +++ b/mdit_py_plugins/attrs/index.py @@ -11,7 +11,7 @@ def attrs_plugin( md: MarkdownIt, *, after=("image", "code_inline", "link_close", "span_close"), - spans=True, + spans=False, ): """Parse inline attributes that immediately follow certain inline elements:: diff --git a/tests/test_attrs.py b/tests/test_attrs.py index 735374b..e4e9f0f 100644 --- a/tests/test_attrs.py +++ b/tests/test_attrs.py @@ -13,7 +13,7 @@ "line,title,input,expected", read_fixture_file(FIXTURE_PATH / "attrs.md") ) def test_attrs(line, title, input, expected): - md = MarkdownIt("commonmark").use(attrs_plugin) + md = MarkdownIt("commonmark").use(attrs_plugin, spans=True) md.options["xhtmlOut"] = False text = md.render(input) print(text)