Enter org-drill
org-drill.el
does flashcards and spaced-repetition, all within org‑mode
It comes with Org mode in the contrib directory!
(Or install org-plus-contrib
)
My Org-drill
configuration
(add-to-list 'load-path "~/elisp/org-mode/contrib/lisp/")
(use-package org-drill
:config (progn
(add-to-list 'org-modules 'org-drill)
(setq org-drill-add-random-noise-to-intervals-p t)
(setq org-drill-hint-separator "||")
(setq org-drill-left-cloze-delimiter "<[")
(setq org-drill-right-cloze-delimiter "]>")
(setq org-drill-learn-fraction 0.25)))
Important thing here is to add it to org-modules
How to use org-drill
Add a "drill" tag in org-mode
to whatever you want drilled.
Use clozes or subheadings to determine what's on the "back of the flashcard".
Use one of the following org-drill
commands:
org-drill
- Drills the current buffer
org-drill-tree
- Drills the current org-mode heading
org-drill-directory
- Drills all files in the current directory
org-drill
makes organizing your flashcards easy
You can organize things hierarchically and by file.
org-drill
has support for:
Images
$\LaTeX$
Clozes
Two-sided cards
User-defined style cards using Elisp
(e.g. card types for conjugation of verbs)
$\LaTeX$
replaceSrc("latex", "img/latex-example-2.png")
replaceSrc("latex", "img/latex-example-1.png")
Running org-drill
replaceSrc("latex", "img/latex-example-3.png")
Displaying the answer
Clozes
Clozes are basically "fill in the blank" parts of flash cards.
They're easily added, by default using brackets like [this]
You can also have hints to be displayed.
(e.g. There are [number66|number] ferromagnetic elements)
(Note: I change the delimiters I use.
You can set org‑drill‑left‑cloze‑delimiter
, org‑drill‑right‑cloze‑delimiter
, org‑drill‑hint‑separator
)
Cloze examples
replaceSrc("clozeimg", "img/cloze-example-1.png")
Here's an example of a card with clozes, one of which has a hint
replaceSrc("clozeimg", "img/cloze-example-2.png")
Here's the card as it's displayed
replaceSrc("clozeimg", "img/cloze-example-3.png")
And revealing the answers
Two-sided cards
replaceSrc("twosidedimg", "img/word-example-1.png")
Two-sided cards have the DRILL_CARD_TYPE
set to "twosided"
replaceSrc("twosidedimg", "img/word-example-2.png")
Here it displays the word, quizzing us on the definition.
replaceSrc("twosidedimg", "img/word-example-3.png")
And now it reveals the definition/examples.
replaceSrc("twosidedimg", "img/word-example-4.png")
Or here it displays the definition, quizzing us on the word.
replaceSrc("twosidedimg", "img/word-example-5.png")
And now it reveals the word/examples.