anki-js
v0.1.5
Published
Add some light functionality to Anki flash cards (via JS in flash cards).
Downloads
6
Maintainers
Readme
anki-js
anki-js add some light functionality to Anki flash cards (current time, spent time for current card, fix RU keyboard layout).
It use ES3 JS-code, so it work on all platforms (Windows, Linux, iOS, AnkiDroid).
Usage
You need a node version >=6.0.0.
Build project, then copy text of build/out.txt to the end of Anki front card template (for each card type), and src/main.css to card styles.
For switching off "input text fixing" print space as first symbol of string.
Build
$ npm run build
For adding autoreplacing english letters on russian use param 'ru':
$ npm run build ru
Tests
$ npm install
$ npm run build
$ npm test