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

Method get_all_rules

markdown_it/ruler.py:269–271  ·  view source on GitHub ↗

Return all available rule names.

(self)

Source from the content-addressed store, hash-verified

267 return self.__cache__.get(chainName, []) or []
268
269 def get_all_rules(self) -> list[str]:
270 """Return all available rule names."""
271 return [r.name for r in self.__rules__]
272
273 def get_active_rules(self) -> list[str]:
274 """Return the active rule names."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected