_split_flashcard_parts() pakai state-machine per-baris agar komentar '#'
di dalam blok kode (python/shell/bash/yaml) tidak dianggap heading baru.
Sebelumnya re.split('^#{1,3}\s+') membelah soal menjadi dua, sehingga
opsi meleset ke 'soal hantu' dan pilihan di layar tidak sesuai markdown.
|
||
|---|---|---|
| .. | ||
| scripts | ||
| storage | ||
| tests | ||
| __init__.py | ||
| database.py | ||
| docs_service.py | ||
| evaluation.py | ||
| lesson_registry.py | ||
| lesson_service.py | ||
| models.py | ||
| progress_status.py | ||
| repositories.py | ||
| student_roundtrip.py | ||
| teacher_auth.py | ||
| teacher_bootstrap.py | ||
| token_hashing.py | ||
| token_service.py | ||