CodeDiffer

AnkiWeb addon 441384655

Creates interactive code-input cards that compare your answer against the correct solution with a visual diff to help learn APIs through practice.
AI-generated summary; may contain mistakes.

card-templatesquizbeta

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2021-06-15
Anki versions
unknown
License
MIT (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
JavaScript, CSS, Python, SCSS, JSON
Description language
en

Maintenance

abandoned

  • Last update or commit: 2021-06-15 (1965 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.0–2021-06-15
History across monthly snapshots

Loading…

Similar addons

Code Your Answer

Lets you type code answers in an IDE-style field during review and shows an instant character-level diff against the solution, with syntax highlighting and coding shortcuts.

formattingshortcutscard-templatesquiz

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 3 Anki 25.02.7~ Updated 2026-06-19
Write and Compare

Adds a note type where you type your answer in a text area, then see it side-by-side with the model solution for comparison, with optional reversed cards.

card-templatesquiz

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 2 Anki 25.07.2~ Updated 2025-07-08
Drag Drop

Creates interactive drag-and-drop flashcards where you label images or sort items into categories, with instant feedback, shuffling, theme and layout options, across Anki Desktop, AnkiDroid and AnkiMobile.

card-creationappearancecard-templatesquizmobile-compatible

3 votes 44% approval πŸ‘ 3 Β· πŸ‘Ž 0 ⭐ 1 Anki 25.07~ Updated 2026-10-02
Multi-Line Type Answer Box has 2 forks β†’

Embeds a multi-line text input box in Anki notes and automatically compares typed guesses with answers, including cloze cards, with customizable styling and Ctrl+Enter answer reveal.

card-templatesquiz

47 votes 72% approval πŸ‘ 40 Β· πŸ‘Ž 7 ⭐ 16 Anki 2.1.23~ Updated 2020-08-21
MCQ Generator

Creates and reviews single- and multiple-choice questions in Anki with an exam-style interface showing your selections, correct answers, color-coded feedback, and optional explanations.

card-creationreview-flowcard-templatesquiz

7 votes 25% approval πŸ‘ 4 Β· πŸ‘Ž 3 ⭐ 3 Anki 23.10~ Updated 2026-01-07

Description

WARNING! This is work-in-progress. Uploaded only for testing. I will update readme when this add-on will be finished.

README

Anki CodeDiffer

Add-on for Anki SRC. It allows you to create cards with interactive input. Also it uses differ to visualize how your input is different from correct answer.

When to use?

This addon should be helpful to learn some new APIs. With it you can learn API not by drilling, but by trying to solve some simple tasks.

How to use?

For example, you can copy/paste some code samples from MDN:

editor

Then you try to input the correct solution on the Question side:

frontside

... and then you can check how close your solution is to the right answer:

backside

Tags [diff][/diff] and [diff-answ][/diff-answ] can be added manually or by editor's buttons.

  • [diff lang='sql' theme='solarized_dark'][/diff] is used to to let add-on figure where to insert code editor, and with which settings;
  • [diff-answ][/diff-answ] is used to to let add-on figure which part of the answer should be used as "correct answer" in code differ.

Supported languages and themes

SUPPORTED_LANGUAGES = [
    'javascript',
    'python',
    'sql',
    'typescript'
]

SUPPORTED_THEMES = [
    'chrome',
    'monokai',
    'solarized_dark',
    'solarized_light'
]

TODO

  1. Research how to add any of Ace's languages/themes on the fly.

Used libraries and resources

Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY