Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jpbruinsslot/anki-md
📚 A markdown to anki flash cards converter
https://github.com/jpbruinsslot/anki-md
anki cli flashcards go golang markdown spaced-repetition
Last synced: 27 days ago
JSON representation
📚 A markdown to anki flash cards converter
- Host: GitHub
- URL: https://github.com/jpbruinsslot/anki-md
- Owner: jpbruinsslot
- License: mit
- Created: 2018-10-14T08:39:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-05T21:23:35.000Z (8 months ago)
- Last Synced: 2024-04-16T02:18:53.963Z (7 months ago)
- Topics: anki, cli, flashcards, go, golang, markdown, spaced-repetition
- Language: Go
- Homepage:
- Size: 108 KB
- Stars: 27
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 📚 anki-md
A markdown to anki flash cards converter
## 📦 Installation
### Binary installation
[Download](https://github.com/jpbruinsslot/anki-md/releases) a
compatible binary for your system. For convenience, place `anki-md` in a
directory where you can access it from the command line.### Via Go
```bash
$ go install github.com/jpbruinsslot/anki-md
```## 💻 Usage
### Command line usage
```
NAME:
anki-md - markdown to anki flash cards converterUSAGE:
anki-md -i [input-file] -o [output-file]EXAMPLES:
$ anki-md -i deck.md -o deck.csv
$ cat deck.md | anki-md -o deck.csv
$ anki-md -i deck.md > test.csv
VERSION:
0.1.0WEBSITE:
https://github.com/jpbruinsslot/anki-mdGLOBAL OPTIONS:
-i, -input [input-file] input file
-o, -output [output-file] output file
-html convert field content to html
-h, -help
```### Deck creation
Create your deck, cards and fields as follows:
```
%% Who wrote the book "The C Programming Language"?%% Brian W. Kernighan and Dennis M. Ritchie
---
%% Create a hello world program
%%
``
#includeint main()
{
printf("hello, world\n");
}
`````
| identifier | explanation |
| ---------- | ------------------------------------------------------- |
| `%%` | represents a field, you can use multiple field per card |
| `---` | represent a card |