Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.33 KB

README.md

File metadata and controls

40 lines (30 loc) · 1.33 KB

anki-js

NPM version node dependencies License MIT

NPM

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

License

MIT