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 1
1
# Change Log
2
2
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
+
3
31
## 0.5.5 - 2020-09-27
4
32
5
33
👌 IMPROVE: Add ` store_labels ` option.
Original file line number Diff line number Diff line change 1
1
from .main import MarkdownIt # noqa: F401
2
2
3
3
4
- __version__ = "0.5.5 "
4
+ __version__ = "0.5.6 "
You can’t perform that action at this time.
0 commit comments