13,689 new quiz questions in 160 practice islands (grades 3-12), Question.figure, replay rotates the quiz, LaTeX removed from lesson/question text

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 11:58:18 +03:30
parent f9eea56895
commit dd10ff83f4
14 changed files with 259891 additions and 640 deletions

View File

@@ -137,10 +137,11 @@ def _convert(s: str) -> str:
elif name == 'mathbb':
body, i = _read_group(s, i)
out.append(_BLACKBOARD.get(body, body))
elif name in ('vec', 'overrightarrow'):
elif name in ('vec', 'overrightarrow', 'overline', 'bar', 'widehat', 'hat'):
# فلشِ بالای حرف (U+20D7) در فونتِ بسیاری از گوشی‌ها دیده نمی‌شود یا روی
# حرف می‌نشیند؛ کتاب‌های درسی هم «بردار a» می‌نویسند. هیچ نشانی نمی‌گذاریم.
body, i = _read_group(s, i)
out.append(_convert(body) + '⃗')
elif name in ('overline', 'bar', 'widehat', 'hat'):
out.append(_convert(body))
body, i = _read_group(s, i)
out.append(_convert(body))
elif name in ('begin', 'end'):