Skip to content

Repository files navigation

GitHub stars Last commit License

ANKI batch

中文說明

TLDR

  1. create a folder with many markdown files in it
  2. will treat each markdown file as a deck
  3. each markdown file should be formated as:
    • the front will start from the h2 ## title
    • the back will start after ---
    • h1 # title will be the deck name
# deckname

## card 1

---

back

## card 2

---

back
  1. Install python packages
pip install -r requirements.txt
  1. run
make DECK=your_folder_name
  1. you will get the .apkg file from each markdown

Supplementary

  • Any file with the name containing 'index' will be ignored.
    • Especially useful for: creating a note_index.md using wikilinks to connect various documents.
  • Images should be added in markdown format like ![alt](img.jpg) or ![alt](https://i.imgur.com/abc123).
  • You can modify the theme.css to adjust the card styles.

About

Python tool for batch-generating Anki flashcard decks from Markdown files and Zettelkasten notes, with automated spaced-repetition workflow support.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages