⚠️🚨 IMPORTANT NOTICE 🚨⚠️ This add-on is archived and no longer maintained. Please switch to the new, modern, and actively maintained version: Better Anki Markdown
Anki KaTeX Markdown (🚨 Archive)
Github Repository
Latest Release : New Card Type “Markdown and KaTeX Cloze + Show Cloze (Color)”
FAQs replace ”(” and ”)” with ”$” and ”[” and ”]” with ”$$”. (For ChatGPT responses) if tables are not display in the right way: use “Shift+Enter” for each new row. Overview
This plugin will add two new card types : “KaTeX and Markdown Basic (Color)”, “KaTeX and Markdown Cloze (Color)”. That will give good support for basic and cloze cards that contain markdown including math and code. It provides several improvement / features compared to the original. Among other things, support of: colored clozes, clozes in code, darkmode suport, custom user styling, …
Customizing Styles (Credits : Eljamm)
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.
Screenshots


Liên kết hỗ trợ
Reviews (22)
👍 2026-01-07
Good idea and we need md support. But its working bad - anki breaks my md cards by appending its HTML and i end up with a mess HTML+MD and this completely broke my notes
👍 2025-05-22
Works perfectly, thanks
👍 2025-04-18
4/5
If there are two blocks of PHP code, for example, the rendering will be incorrect due to the two $.
$x = "teste";
$x = "teste";
Comment from author You can do:
\$x = "teste";
\$x = "teste";
👍 2025-03-29
Does the job pretty well! Definitely better than nothing.
👍 2025-03-09
No blockquote support, or support broken? Simple > doesn’t create block quotes. Most other basic formatting I’ve tried does work however.
👍 2025-02-28
Hi, would you consider adding ‘markdown image syntax / ’ support?
👍 2025-02-08
nice plugin! markdown support really enhanced the cards a lot
👍 2025-01-22
Can’t get it working, need a step by step video Comment from author I hope this helps: https://raw.githubusercontent.com/alexthillen/Anki-KaTeX-Markdown-Reworked/refs/heads/main/.github/assets/install_example.gif
👍 2025-01-21
Perfect for my interview prep deck
👍 2025-01-15
🌟🌟🌟🌟🌟
Fantastic Add-On for Enhanced Note-Taking!
This Anki add-on has truly transformed my note-taking experience. The markdown support is a game-changer, allowing me to create well-structured notes with ease. The ability to include tables, code highlighting, and math modes has made my study sessions so much more efficient and enjoyable. Plus, the dark mode is a lifesaver for late-night study sessions. Highly recommend this add-on …
👍 2024-12-30
Thanks to the author. This is good. Keep up the great work!
👍 2024-10-18
It’s work
👍 2024-10-15
Works better on AnkiMobile than OG
👍 2024-09-21
Amazing plugin! The only issue I’ve found so far is that LaTeX is not rendered correctly in cloze completion notes. That is working on the original plugin, so hopefully, this rework will fix that soon. This is a recommended plugin if you use code blocks or math equations.
👍 2024-09-20
very cool, used this for a while.
it is possible to add mutile clozes on a single card? can I have a teather request that want to have a toggle, that we can click the cloze to make display or hidden.
👍 2024-09-18
Working!!
👍 2024-09-13
better than og
👍 2024-06-30
Code blocks in the original “Markdown and KaTeX Support” don’t switch colors in dark mode. This addon fixes that.
👍 2024-05-29
Very usefull, thank you for your contribution.
👍 2024-04-29
Code highlights works well. It’s simple like normal markdown grammar
👍 2024-04-17
Dollar signs are correctly escaped in this rework
👍 2023-12-12
Better than the origin