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

Method highlight

markdown_it/utils.py:166–168  ·  view source on GitHub ↗

Highlighter function: (content, langName, langAttrs) -> escaped HTML.

(self)

Source from the content-addressed store, hash-verified

164
165 @property
166 def highlight(self) -> Callable[[str, str, str], str] | None:
167 """Highlighter function: (content, langName, langAttrs) -> escaped HTML."""
168 return self._options["highlight"]
169
170 @highlight.setter
171 def highlight(self, value: Callable[[str, str, str], str] | None) -> None:

Callers 1

fenceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected