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

Function isStrSpace

markdown_it/common/utils.py:167–169  ·  view source on GitHub ↗

Check if character is a whitespace.

(ch: str | None)

Source from the content-addressed store, hash-verified

165
166
167def isStrSpace(ch: str | None) -> bool:
168 """Check if character is a whitespace."""
169 return ch in ("\t", " ")
170
171
172MD_WHITESPACE = {

Callers 14

imageFunction · 0.85
linkFunction · 0.85
escapeFunction · 0.85
newlineFunction · 0.85
skipBulletListMarkerFunction · 0.85
skipOrderedListMarkerFunction · 0.85
blockquoteFunction · 0.85
hrFunction · 0.85
tableFunction · 0.85
headingFunction · 0.85
__init__Method · 0.85
skipSpacesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…