Filter outline markers in writer, add min-height to preview dialog

This commit is contained in:
Yuzhiran Dev
2026-05-20 18:11:32 +08:00
parent bf38125362
commit 9a328323c0
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -143,6 +143,8 @@ class Writer:
return True
if stripped.startswith('*大纲'):
return True
if re.match(r'^\*{0,3}【[^】]*】\*{0,3}\s*$', stripped):
return True
return False
def _is_bullet_only(self, text: str) -> bool: