Markdown and KaTeX Support

AnkiWeb addon 1087328706

2 other versions of this addon exist. Compare versions ↓

Adds Basic and Cloze note types supporting Markdown and fast KaTeX math, with cross-device online rendering, code highlighting, chemistry formulas, text marking, and a desktop live preview.
AI-generated summary; may contain mistakes.

formattingcard-templatesmobile-compatible

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
88 (πŸ‘ 84 Β· πŸ‘Ž 4)
Updated
2023-05-06
Anki versions
2.1.42~
License
Not found (this does not mean that the addon has no license)
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
Description language
en

Maintenance

active

  • Last update or commit: 2026-10-18 (14 days before the snapshot).
  • GitHub Actions workflows: 1.
  • Commits in the last year: 1.
  • Issues: 20 open, 28 closed.
  • Pull requests: 0 open, 0 merged.
  • Median first response: 81 hours (40 answered issues and pull requests).
  • Outside pull requests: 0% of 6 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.42+2023-05-06
History across monthly snapshots

Loading…

Compare versions

The original addon and its forks. The best value in each column is in bold.

VersionWorks on Anki 26.09.3MaintenanceLast activity VotesApprovalGitHub starsNotes
Markdown and KaTeX Support this addon original likely active 18 Oct 2026 πŸ‘ 84 Β· πŸ‘Ž 4 89% 86
↳ Markdown Support | Tables, Code Highlighting, Math, Darkmode likely stale 4 Jul 2025 πŸ‘ 19 Β· πŸ‘Ž 4 63% 24 obsolete
↳ Markdown and KaTeX Support (Preview Fix) (AI-detected; may be wrong) likely active 8 May 2026 πŸ‘ 0 Β· πŸ‘Ž 0 – –

Forks can add features or work in a different way. Read the description before you change to another version. Fork detection is incomplete, so other versions can exist.

Similar addons

Better Markdown Anki

Renders Anki flashcards with enhanced markdown, LaTeX math, syntax highlighting, theme-aware styling, and interactive cloze toggles via React-based note types.

formattingappearancecard-templatescloze

25 votes 65% approval πŸ‘ 21 Β· πŸ‘Ž 4 ⭐ 31 Anki 2.1.66~ Updated 2026-10-15
Ankimd

Imports markdown files as flashcards with customizable front/back delimiters and KaTeX support, though it lacks error handling and requires specifying semicolon separators during import.

card-creationimportformattingbeta

2 votes 9% approval πŸ‘ 1 Β· πŸ‘Ž 1 ⭐ 3 Anki 23.12.1~ Updated 2024-05-26

Description

This Add-on will add two new Notetypes, Basic and Cloze, that have inbuild Markdown and KaTeX support. Features: (Incompatible with: "Syntax Highlighting FORK (night mode fix, gui config, etc.)") Latest Updates
  • v1.0: Fixed error where if you copy text and insert it into anki <span> elements appear, also added offline support
  • v1.2: Fixed an Error where the content of the front / backside sometimes doesn't show up
  • v1.3: Fixed alot of parsing errors and warnings on AnkiDroid
  • v1.4: Fixed a bug where HTML reserved characters like < are displayed incorrectly in code block, also fixed a bug where $\backslash$ in KaTeX environment is displayed as </span> (two backslashes in the same KaTeX expression is still buggy, escape the expression if you want to include two or more, I'm working on it)
  • v1.5: Works with Ankiweb as well now
  • v1.6: New: Code highlighting for code blocks with highlight.js, works for all common programming languages, to use it just type e.g. ```python at the start of your code block
  • v1.7: Fixed code block errors
  • v2.0: Added a live Markdown / KaTeX previewer only for Desktop Anki
  • v2.1: Block Code and tables in live preview are styled now
  • v2.2: Added Chemistry formular support
  • v2.3: Added marking text with ==text==

README

Anki-KaTeX-Markdown

Creates a new Basic and a new Cloze Note Type that support Markdown and KaTeX

Features

Used Libraries

Markdown-It
KaTeX

Installation

  • Go to to see how to install this addon for anki
  • To install locally download the latest release and install by opening Anki β†’ Tools β†’ Add-ons β†’ Install from file, then select MDKaTeX.ankiaddon