MCPcopy Create free account
hub / github.com/idank/explainshell / _audit_scan_open_double_backtick

Function _audit_scan_open_double_backtick

tests/evals/render/render_eval.py:1202–1207  ·  view source on GitHub ↗
(markdown: str, html: str)

Source from the content-addressed store, hash-verified

1200
1201
1202def _audit_scan_open_double_backtick(markdown: str, html: str) -> list[tuple[int, str]]:
1203 hits: list[tuple[int, str]] = []
1204 for line_no, line in enumerate(markdown.splitlines(), 1):
1205 for match in _AUDIT_OPEN_DOUBLE_BACKTICK_RE.finditer(line):
1206 hits.append((line_no, _audit_snippet(line, match.start(), match.end())))
1207 return hits
1208
1209
1210def _audit_scan_giant_markdown_line(markdown: str, html: str) -> list[tuple[int, str]]:

Callers

nothing calls this directly

Calls 1

_audit_snippetFunction · 0.85

Tested by

no test coverage detected