MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / smartquotes

Function smartquotes

markdown_it/rules_core/smartquotes.py:194–202  ·  view source on GitHub ↗
(state: StateCore)

Source from the content-addressed store, hash-verified

192
193
194def smartquotes(state: StateCore) -> None:
195 if not state.md.options.typographer:
196 return
197
198 for token in state.tokens:
199 if token.type != "inline" or not QUOTE_RE.search(token.content):
200 continue
201 if token.children is not None:
202 process_inlines(token.children, state)

Callers

nothing calls this directly

Calls 1

process_inlinesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…