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

Method get_active_rules

markdown_it/ruler.py:273–275  ·  view source on GitHub ↗

Return the active rule names.

(self)

Source from the content-addressed store, hash-verified

271 return [r.name for r in self.__rules__]
272
273 def get_active_rules(self) -> list[str]:
274 """Return the active rule names."""
275 return [r.name for r in self.__rules__ if r.enabled]

Callers 3

__init__Method · 0.45
test_enableFunction · 0.45
test_disableFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_enableFunction · 0.36
test_disableFunction · 0.36