Skip to content

Commit ca6269e

Browse files
authored
🚀 RELEASE: v0.5.6 (#62)
1 parent f290ba9 commit ca6269e

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

CHANGELOG.md

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

3+
## 0.5.6 - 2020-10-21
4+
5+
- ✨ NEW: Add simple typographic replacements, thanks to [@tsutsu3](https://github.com/tsutsu3):
6+
This allows you to add the `typographer` option to the parser, to replace particular text constructs:
7+
8+
- ``(c)``, ``(C)`` → ©
9+
- ``(tm)``, ``(TM)`` → ™
10+
- ``(r)``, ``(R)`` → ®
11+
- ``(p)``, ``(P)`` → §
12+
- ``+-`` → ±
13+
- ``...`` → …
14+
- ``?....`` → ?..
15+
- ``!....`` → !..
16+
- ``????????`` → ???
17+
- ``!!!!!`` → !!!
18+
- ``,,,`` → ,
19+
- ``--`` → &ndash
20+
- ``---`` → &mdash
21+
22+
```python
23+
md = MarkdownIt()
24+
md.options["typographer"] = True
25+
```
26+
27+
- 📚 DOCS: Improve documentation for CLI, thanks to [@westurner](https://github.com/westurner)
28+
- 👌 IMPROVE: Use `re.sub()` instead of `re.subn()[0]`, thanks to [@hukkinj1](https://github.com/hukkinj1)
29+
- 🐛 FIX: An exception raised by having multiple blank lines at the end of some files
30+
331
## 0.5.5 - 2020-09-27
432

533
👌 IMPROVE: Add `store_labels` option.

markdown_it/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .main import MarkdownIt # noqa: F401
22

33

4-
__version__ = "0.5.5"
4+
__version__ = "0.5.6"

0 commit comments

Comments
 (0)