Skip to content

Commit 7cef4a2

Browse files
committed
✨ NEW: Add smartquotes (executablebooks#59)
1 parent 7783a37 commit 7cef4a2

File tree

7 files changed

+244
-207
lines changed

7 files changed

+244
-207
lines changed

markdown_it/parser_core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88

99
from .ruler import Ruler
1010
from .rules_core.state_core import StateCore
11-
from .rules_core import normalize, block, inline, replace
11+
from .rules_core import normalize, block, inline, replace, smartquotes
1212

13-
# TODO linkify, replacements, smartquotes
13+
# TODO linkify
1414
_rules = [
1515
["normalize", normalize],
1616
["block", block],
1717
["inline", inline],
1818
# [ 'linkify', require('./rules_core/linkify') ],
1919
["replacements", replace],
20-
# [ 'smartquotes', require('./rules_core/smartquotes') ]
20+
["smartquotes", smartquotes],
2121
]
2222

2323

markdown_it/rules_core/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
from .block import block # noqa: F401
44
from .inline import inline # noqa: F401
55
from .replacements import replace # noqa: F401
6+
from .smartquotes import smartquotes # noqa: F401

markdown_it/rules_core/smartquotes.js

Lines changed: 0 additions & 201 deletions
This file was deleted.

0 commit comments

Comments
 (0)