Skip to content
Clouder0 edited this page Jun 7, 2021 · 1 revision

Config

Command-Line Params

filename

The file to import.

./AnkiLink filename

-d --deckname name

The deck to export to.
This param can be omitted, and is set default to Export

./AnkiLink temp.md --deckname Export

-v --version

Check the version of AnkiLink.

-o --output [filename]

If you want to export your notes to an apkg file, you can use -o filename param.

For example, generate an apkg file from test2.md:

./AnkiLink test2.md -o test.apkg

And if filename is left blank, AnkiLink will try to infer your filename from the H1 title.

# Title

text.
./AnkiLink test.md -o

Will export to: Title.apkg.