aboutsummaryrefslogtreecommitdiff
path: root/test-from-git
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-05 09:33:34 -0500
committerCraig Jennings <c@cjennings.net>2026-05-05 09:33:34 -0500
commit072b59b07545c9fb076c9181d16f7b2971b65421 (patch)
tree1471b4f35c42a533bd08e2df56bcb68858cfcce3 /test-from-git
parent066cd82302f76f21b3409a00aabe0d8de1d9e34e (diff)
downloadorg-drill-072b59b07545c9fb076c9181d16f7b2971b65421.tar.gz
org-drill-072b59b07545c9fb076c9181d16f7b2971b65421.zip
refactor: introduce org-drill-with-card-display macro
Five presenters opened with the same three-deep wrap: (org-drill-with-hidden-comments (org-drill-with-hidden-cloze-hints (org-drill-with-hidden-cloze-text ...body...))) Combined into org-drill-with-card-display. Five sites (present-simple-card, present-simple-card-with-typed-answer, present-two-sided-card, present-multi-sided-card, present-spanish-verb) lose 2-3 lines of nesting each. Multicloze-hide-n / hide-nth use a different envelope (only two of the three wraps; they hide specific clozes by index, not all of them) so they keep their explicit nesting. Same for present-card-using-text, which substitutes with-replaced-entry-text for with-hidden-cloze-text.
Diffstat (limited to 'test-from-git')
0 files changed, 0 insertions, 0 deletions