MCPcopy Create free account
hub / github.com/crisxuan/bestJavaer / mask_ignored_markdown_blocks

Function mask_ignored_markdown_blocks

scripts/check_article_quality.py:186–189  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

184
185
186def mask_ignored_markdown_blocks(text: str) -> str:
187 text = re.sub(r"```.*?```", preserve_shape, text, flags=re.S)
188 text = re.sub(r"<!--.*?-->", preserve_shape, text, flags=re.S)
189 return text
190
191
192def normalize_image_target(raw: str) -> str:

Callers 1

find_image_refsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected