(line: str)
| 942 | |
| 943 | |
| 944 | def is_prose_line(line: str) -> bool: |
| 945 | stripped = line.strip() |
| 946 | if not stripped: |
| 947 | return False |
| 948 | if stripped.startswith(("#", "-", "*", "> ", "```", "![[", "*论文原图编号")): |
| 949 | return False |
| 950 | if stripped.startswith("`") and stripped.endswith("`"): |
| 951 | return False |
| 952 | return True |
| 953 | |
| 954 | |
| 955 | def suspicious_mid_sentence_linebreaks(text: str) -> list[dict[str, object]]: |
no outgoing calls
no test coverage detected