AnkiWeb
- Rating
- 23 (π 19 Β· π 4)
- Updated
- 2025-06-07
- Anki versions
- 2.1.66~
- Description language
- en
AnkiWeb addon 1786114227
Adds archived Markdown and KaTeX card types with colored cloze, code block support, dark mode, and customizable styles.
Open on AnkiWeb GitHub Ask about alternatives
stale
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.0 | 2.1.66+ | 2025-06-07 |
Loadingβ¦
Renders flashcards with advanced markdown, LaTeX math, syntax highlighting, theme-aware styling, tag badges, and interactive cloze toggles via React components.
Renders Markdown flashcards with Shiki syntax highlighting, 300+ languages, 60+ themes, code annotations, math, and an AI agent skill via AnkiConnect.
Write flashcards in Markdown with syntax-highlighted code, media embedding, cloze and reversed card types, and cross-platform Anki support.
Adds Basic and Cloze note types supporting Markdown and KaTeX, live desktop preview, code highlighting, chemistry formulas, and ==text== highlighting across internet-connected devices.
Imports Markdown notes from a Zettelkasten folder into Anki as Cloze (traceable) notes, supporting math, code, tables, images, and emoji.
Write Markdown flashcards with Shiki code highlighting, MathJax, cloze, AI generation, interactive choice cards, TTS, and cross-platform Anki support.
This add-on is archived and no longer maintained. Please switch to the new, modern, and actively maintained version: Better Anki Markdown

Adding support and improvements of how cards are displayed. Allowing for clozes inside code blocks. Better night mode support & readability. Coloring of the cloze elements.
Creates a new Basic and a new Cloze Note Type that support Markdown and KaTeX: Markdown and KaTeX Basic (Color) and Markdown and KaTeX Cloze (Color).
The following can be used to create a sample cloze card.
# A Dummy Card
## Subtitle
### Math
- {{c1::$\pi=3.1415...$::$\pi=...$}}
### Escaping dollar
$$1\$ < 1β¬ $$ after
### Escaped c++ code :
```cpp
#include <stdio.h>
{{c2::boost\:\:add_vertex::how to add vertex in boost}}(...);
```
### Python
```py
def print_hello():
print("{{c2::hello}}")
```

\$ and \:It's possible to customize the note style by editing "_user_style.css" inside the media folder. To find out where your media folder is, please refer to the Anki documentation.
If a value has already been set inside the default "_style.css", you can overwrite it by using the !important flag.
If you want to remove a value, you can also use the unset keyword.
/* _user_style.css example */
.nightMode, .night-mode, .night_mode {
background-color: #1e1e2e !important; /* overwrite value */
}
.nightMode code {
filter: unset !important; /* remove value */
}
/* !important is not necessary here since ".field" is not set in "_style.css" */
.field {
display: inline-block;
text-align: left;
}
The markdown preview will automatically follow all user style modifications.
<a href="https://github.com/markdown-it/markdown-it">Markdown-It</a>
<a href="https://github.com/KaTeX/KaTeX">KaTeX</a>
Fork of : https://github.com/Jwrede/Anki-KaTeX-Markdown.