-
Notifications
You must be signed in to change notification settings - Fork 9
Adding cards to Anki
inka will create custom note types for Front/Back (Inka Basic
) and Cloze (Inka Cloze
) notes. If you want to use different ones, you can change note types in the config.
For adding cards collect
command is used.
Add cards from the file:
inka collect path/to/cards.md
Add cards from all Markdown files in a directory:
inka collect path/to/directory
By default, the program doesn't search for files in subdirectories. To enable this behavior, you must use the -r/--recursive
flag:
inka collect -r path/to/directory
You can also pass multiple paths at once:
inka collect path/to/cards.md path/to/directory
If you added a default path to the config option defaults.folder
, it will be used if no PATH
argument is passed:
inka collect
If you have multiple profiles and you have set one as the default in the config, you can use -p/--prompt
flag to show a dialog for choosing a profile:
inka collect -p path/to/directory
If errors occur, the program will stop for you to read them. If you want to ignore them, use the -i / - ignore-errors
flag:
inka collect -i path/to/file.md