Skip to content

Commit

Permalink
🚀 RELEASE: v0.3.2 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell authored Dec 5, 2022
1 parent ec51e60 commit 881dcdc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
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.3.1"
__version__ = "0.3.2"
2 changes: 1 addition & 1 deletion mdit_py_plugins/attrs/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
2 changes: 1 addition & 1 deletion tests/test_attrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 881dcdc

Please sign in to comment.