File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 11from .main import MarkdownIt # noqa: F401
22
33
4- __version__ = "0.5.5 "
4+ __version__ = "0.5.6 "
You can’t perform that action at this time.
0 commit comments