https://github.com/uid11/anki-js
Add some light functionality to Anki flash cards.
https://github.com/uid11/anki-js
Last synced: about 1 year ago
JSON representation
Add some light functionality to Anki flash cards.
- Host: GitHub
- URL: https://github.com/uid11/anki-js
- Owner: uid11
- License: mit
- Created: 2016-09-09T08:49:52.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-07T11:30:21.000Z (almost 10 years ago)
- Last Synced: 2025-02-23T02:20:00.603Z (over 1 year ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# anki-js #
[![NPM version][npm-image]][npm-url] ![node][node-image] ![dependencies][dependencies-image] [![License MIT][license-image]](LICENSE)
[](https://nodei.co/npm/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 ##
```bash
$ npm run build
```
For adding autoreplacing english letters on russian use param 'ru':
```bash
$ npm run build ru
```
## Tests ##
```bash
$ npm install
$ npm run build
$ npm test
```
## License ##
[MIT](LICENSE)
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg "license-image"
[dependencies-image]: https://img.shields.io/gemnasium/mathiasbynens/he.svg?maxAge=2592000 "dependencies-image"
[node-image]: https://img.shields.io/badge/node-v6.0.0-brightgreen.svg?maxAge=2592000 "node-image"
[npm-image]: https://img.shields.io/npm/v/anki-js.svg "npm-image"
[npm-url]: https://www.npmjs.com/package/anki-js "anki-js"