MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / has_figure_marker

Function has_figure_marker

scripts/lint_note.py:827–832  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

825
826
827def has_figure_marker(text: str) -> bool:
828 return (
829 "[!figure]" in text
830 or "[FIGURE_PLACEHOLDER]" in text
831 or any(is_image_embed_line(line) for line in text.splitlines())
832 )
833
834
835def is_italic_caption_line(line: str) -> bool:

Calls 1

is_image_embed_lineFunction · 0.85