Anki Markdown

AnkiWeb addon 1172202975

2 other versions of this addon exist. Compare versions ↓

Renders Markdown flashcards with Shiki-powered syntax highlighting across 300+ languages and 60+ themes, advanced code annotations, MathJax math, light/dark styling, and AnkiConnect-based AI agent support.
AI-generated summary; may contain mistakes.

sync-integrationformattingappearancecard-templatesmobile-compatible

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
10 (πŸ‘ 9 Β· πŸ‘Ž 1)
Updated
2026-09-29
Anki versions
26.09.3~
License
MIT (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
JavaScript, Python, CSS, JSON, Handlebars
Description language
en

Maintenance

active

  • Last update or commit: 2026-09-29 (33 days before the snapshot).
  • Test files: 7.
  • GitHub Actions workflows: 3.
  • Commits in the last year: 153.
  • Issues: 6 open, 15 closed.
  • Pull requests: 1 open, 33 merged.
  • Median first response: 321 hours (14 answered issues and pull requests).
  • Outside pull requests: 20% of 5 merged.

GitHub

Repository
terkelg/anki-markdown Β· more by terkelg
Stars
⭐ 49 · forks 6 · open issues 7
Last commit
2026-09-29
License
MIT
Languages
Python, TypeScript, CSS, Shell, HTML
Tests
7

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
25.09.426.09.3+2026-09-29
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
Anki Markdown this addon original supported active 29 Sep 2026 πŸ‘ 9 Β· πŸ‘Ž 1 60% 49
↳ Anki Markdown Pro β€” Shiki Highlighting, MathJax, AI & Choice Cards likely active 24 Aug 2026 πŸ‘ 0 Β· πŸ‘Ž 0 – 0
↳ ⭐ Markdown Pro for Anki (AI-detected; may be wrong) likely active 28 Jul 2026 πŸ‘ 0 Β· πŸ‘Ž 1 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
Anki-Coder

Adds a CodeMirror code editor to Anki flashcards with syntax highlighting, themes, live preview, double-click editing, configurable languages and note types, and mobile and cloze-card support.

formattingappearancemobile-compatible

9 votes 45% approval πŸ‘ 7 Β· πŸ‘Ž 2 ⭐ 4 Anki 25.07.6~ Updated 2026-04-22

Description

Write flashcards in Markdown with the same syntax highlighting you know from your code editor. Powered by Shiki (the engine behind VS Code), with 300+ languages, multiple themes, and light/dark mode support.

  • Syntax highlighting with 300+ languages and 60+ themes, only your selections are downloaded and synced
  • Advanced code annotations including line highlighting, word highlighting, focus mode, and error/warning markers
  • Full Markdown with bold, italic, lists, blockquotes, tables, images, alerts, and more
  • Clean card design with polished light/dark styling that matches Anki's native UI
  • Settings panel to dynamically pick languages and themes
  • Mobile works on AnkiDroid and AnkiMobile
  • AI agent friendly built-in agent skill lets AI agents create and manage flashcards via AnkiConnect

See the documentation for all features and syntax guide.

Found a bug? This add-on is actively maintained. Please report issues on GitHub with your Anki version and debug info.

Anki Markdown card example

GitHub Repository

README

Anki Markdown

Anki add-on for Markdown notes with syntax highlighting powered by Shiki

Write flashcards in Markdown with full syntax highlighting. Pick from 300+ languages and 60+ themes β€” only your selections are downloaded and synced. Supports light and dark mode across desktop, mobile, and AnkiWeb.

Anki Markdown card example

[!NOTE] Requires Anki 25.x or later. Go to Tools β†’ Add-ons β†’ Get Add-ons and enter 1172202975 to install. Shared cloze deletions, such as {{c1,2::text}}, require Anki desktop 26.05 or later. See the documentation for all supported features.

  • Syntax highlighting with 300+ languages and 60+ themes, only your selections are downloaded and synced
  • Advanced code annotations including line highlighting, word highlighting, focus mode, and error/warning markers
  • Full Markdown with bold, italic, lists, blockquotes, tables, images, alerts, and more
  • Math using Anki's built-in MathJax, with no bundled math engine or fonts (cloze syntax and limits)
  • Clean card design with polished light/dark styling that matches Anki's native UI
  • Settings panel to dynamically pick languages and themes
  • Cross-platform works on desktop, AnkiDroid, AnkiMobile, and AnkiWeb
  • AI agent skill built-in skill that lets AI agents create markdown flashcards via AnkiConnect

Usage

After installing the add-on:

  1. Create a new note using the Anki Markdown note type (Add β†’ Note Type dropdown β†’ Anki Markdown)
  2. Write your question in the Front field using markdown
  3. Write your answer in the Back field using markdown
  4. The markdown will be automatically rendered with syntax highlighting when you review the card

[!NOTE] See the documentation for all supported markdown features including code blocks, line highlighting, alerts, and more.

AI Agent Skill

Markdown is a perfect format for AI-generated content, and this add-on leans into that. It ships with a companion skill that lets AI coding agents (Claude Code, Codex, etc.) create and manage markdown flashcards directly from your editor via AnkiConnect. The add-on renders the markdown, the skill creates it.

Prerequisites: Anki desktop running with AnkiConnect installed.

Install:

npx skills add terkelg/anki-markdown -s anki

Settings

Open the settings panel from Tools β†’ Add-ons β†’ Anki Markdown β†’ Config.

  • Languages β€” pick which languages are available for syntax highlighting. New languages are downloaded on save. Use the filter and "Selected only" toggle to manage your list.
  • Theme β€” choose separate Shiki themes for light and dark mode.
  • UI β€” toggle cardless mode for a borderless card design.

Development

See development.md for build, test, and release instructions.