1.0.2 • Published 6 years ago
anki.md v1.0.2
anki.md
Easily manage Anki flash cards in markdown.
Features
- Use CommonMark standard
- Built-in more complex notes (e.g.
Basic-and-Cloze
) - Support Anki tags
- Manage Anki flash cards with one command, Anki add-ons or manual import are unnecessary
Installation
$ npm install -g anki.md
Usage
$ anki.md --help
Usage: anki.md [options] path ...
Options:
-V, --version output the version number
--profile <path> the profile path of Anki (default: detect)
-b, --backup backup first
--verbosity [value] logging verbosity: "silent", "error", "warn", "info", "debug", "verbose" (default: "info")
-h, --help output usage information
Tips:
anki-md
is the alias ofanki.md
, please use it if you are using Windows or prefer the style.- The profile path is the user folder in Anki folder, please provide it if
anki.md
cannot detect it.
Template
<ul class="note" data-note-type="{Basic|Cloze|...}" data-tags="{[#tag1 [, ...[, #tagN]]]}">
<li>
{field}
</li>
{...}
</ul>
Examples
The following are Basic
examples, more examples can be found here.
Add a card
<ul class="note" data-note-type="Basic" data-tags="#chemistry">
<li>
Chemical symbol for oxygen?
</li>
<li>
O
</li>
</ul>
Edit a card
<ul class="note" data-note-type="Basic" data-tags="#chemistry">
<li>
Chemical symbol for ~~oxygen~~__carbon__?
</li>
<li>
~~O~~__C__
</li>
</ul>
Delete a card
<ul class="note delete" data-note-type="Basic" data-tags="#chemistry">
<li>
Chemical symbol for carbon?
</li>
<li>
C
</li>
</ul>
License
1.0.2
6 years ago
1.0.1-readme
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago
1.0.0-test-06
6 years ago
1.0.0-test-05
6 years ago
1.0.0-test-04
6 years ago
1.0.0-test-03
6 years ago
1.0.0-test-02
6 years ago
1.0.0-test
6 years ago
0.1.0
6 years ago