Skip to content

zjosua/anki-mc

Repository files navigation

anki-mc

Adds multiple choice cards to Anki.

Screenshots

Single Choice Multiple Choice Kprim
Single Choice Multiple Choice Kprim

Compatibility

Anki 2.1.55 or higher is required for the most recent version of this add-on to work. For Anki 2.1.44 to 2.1.54, you can use v2.8.0 (or lower) of the add-on.

Cards created with this add-on can be reviewed with all Computer and mobile apps and on AnkiWeb.

Usage

Creating / Editing

The note type is automatically added the first time you start Anki after installing the add-on.

When creating cards, write a "1" for correct choices or a "0" for incorrect choices in the "Answers" field. The question type can be selected with the field "QType". It can be either 0 (Kprim), 1 (Multiple Choice) or 2 (Single Choice). The Screenshots section shows how the question types look. These values in the "Answer" field must be separated by a single space. The order and number of values in the "Answer" field must correspond with the choices "Q_1" to "Q_5". If you don't need all the choices, just leave the remaining "Q_" fields blank and only enter as many values as you need in the "Answers" field.

Editing

Reviewing

Select the correct and incorrect choices accordingly and click "Show Answer". The add-on will automatically style your choices based on whether you answered correctly or not.

Addon Config

If you want to change the way your answers are styled (e.g. color green what you should have chosen instead of what you have chosen correctly) you can use the addon's config to switch between different styles: Addon Config Window (Tools -> Addons -> "Select the multiple choice addon" -> Config)

Known Issues

License and Credits

Multiple Choice for Anki is Copyright © 2023 3ter and zjosua

It is licensed under the AGPLv3. For more information refer to the LICENSE file.

A bunch of code in this add-on is based on the Anki add-ons Image Occlusion Enhanced and Cloze Overlapper by Glutanimate. Click here to support Glutanimate's work.

Persistence is achieved using the code from Simon Lammer's anki-persistence. Great work Simon!

Hax merged my Multiple Choice card template with Simon Lammer's persistence code. He also reworked my card templates into one single all-in-one template. Thanks a lot!

Simon's and Hax's work made the multiple choice cards compatible with all platforms.

Volker Umpfenbach contributed a change that allows to customize how the questions and answers are colorized. He also provided the code to calculate and display the percentage of correctly answered items per question.

This add-on uses the packaging library.