Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chrisbarrett/org-drill-table
UNMAINTAINED Generate org-drill cards from org tables
https://github.com/chrisbarrett/org-drill-table
Last synced: 16 days ago
JSON representation
UNMAINTAINED Generate org-drill cards from org tables
- Host: GitHub
- URL: https://github.com/chrisbarrett/org-drill-table
- Owner: chrisbarrett
- License: gpl-3.0
- Created: 2014-01-15T12:47:16.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-08-21T22:01:57.000Z (about 6 years ago)
- Last Synced: 2023-04-03T19:47:35.978Z (over 1 year ago)
- Language: Emacs Lisp
- Homepage:
- Size: 33.2 KB
- Stars: 36
- Watchers: 5
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: COPYING
Awesome Lists containing this project
README
# org-drill-table
*DEPRECATION NOTICE*: I've found Anki to be significantly more practical than org-drill
for language learning, so this package isn't getting a ton of love. 😅 I'm keeping
this up in cos people might find it useful, but it's not actively updated.---
Easily generate org-drill cards using org-mode tables.
## Summary
Some types of information, such as vocabulary lists, yearn to be represented in
tables. However, org-drill requires individual headlines with the "drill" tag;
creating these can be laborious and it is difficult to get an overview of your
cards when the buffer is folded.This package provides a command, `org-drill-table-generate`, that will generate
drill cards based on an org-mode table in the current subtree. The cards will
be inserted under a new "Cards" heading in the current tree.For example, given the following org headline,
```org
* Vocab
| English | Spanish |
|-----------+---------|
| Today | Hoy |
| Yesterday | Ayer |
| Tomorrow | Mañana |
```invoking `org-drill-table-generate` will generate cards for each table row:
```org
* Vocab
:PROPERTIES:
:DRILL_HEADING: Noun
:DRILL_CARD_TYPE: twosided
:DRILL_INSTRUCTIONS: Translate the following word.
:END:
| English | Spanish |
|-----------+---------|
| Today | Hoy |
| Yesterday | Ayer |
| Tomorrow | Mañana |
** Cards
*** Noun :drill:
:PROPERTIES:
:DRILL_CARD_TYPE: twosided
:END:
Translate the following word.
**** English
Today
**** Spanish
Hoy
*** Noun :drill:
:PROPERTIES:
:DRILL_CARD_TYPE: twosided
:END:
Translate the following word.
**** English
Yesterday
**** Spanish
Ayer
*** Noun :drill:
:PROPERTIES:
:DRILL_CARD_TYPE: twosided
:END:
Translate the following word.
**** English
Tomorrow
**** Spanish
Mañana
````org-drill-table-generate` checks the existing list of cards so it does not add
duplicates.This package provides an additional command, `org-drill-table-update`, which can
be added to `org-ctrl-c-ctrl-c-hook`.## Installing
You will need Emacs 24+, `make` and [Cask](https://github.com/cask/cask) to
build the project.cd org-drill-table
make && make install## Contributing
Yes, please do! See CONTRIBUTING.md for guidelines.
## License
See COPYING. Copyright (c) 2014 Chris Barrett.