Skip to content

Commit 881dcdc

Browse files
authored
🚀 RELEASE: v0.3.2 (#56)
1 parent ec51e60 commit 881dcdc

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

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

3+
## 0.3.2 - 2022-12-05
4+
5+
- ✨ NEW: Port `admon` plugin by @KyleKing ([#53](https://github.com/executablebooks/mdit-py-plugins/pull/53))
6+
- ✨ NEW: Add span parsing to inline attributes plugin by @chrisjsewell ([#55](https://github.com/executablebooks/mdit-py-plugins/pull/55))
7+
- 🐛 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))
8+
9+
**Full Changelog**: [v0.3.1...v0.4.0](https://github.com/executablebooks/mdit-py-plugins/compare/v0.3.1...v0.4.0)
10+
311
## 0.3.1 - 2022-09-27
412

513
- ⬆️ UPGRADE: Drop Python 3.6, support Python 3.10

mdit_py_plugins/__init__.py

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

mdit_py_plugins/attrs/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def attrs_plugin(
1111
md: MarkdownIt,
1212
*,
1313
after=("image", "code_inline", "link_close", "span_close"),
14-
spans=True,
14+
spans=False,
1515
):
1616
"""Parse inline attributes that immediately follow certain inline elements::
1717

tests/test_attrs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"line,title,input,expected", read_fixture_file(FIXTURE_PATH / "attrs.md")
1414
)
1515
def test_attrs(line, title, input, expected):
16-
md = MarkdownIt("commonmark").use(attrs_plugin)
16+
md = MarkdownIt("commonmark").use(attrs_plugin, spans=True)
1717
md.options["xhtmlOut"] = False
1818
text = md.render(input)
1919
print(text)

0 commit comments

Comments
 (0)