{"id":13862915,"url":"https://github.com/davidshepherd7/anki-mode","last_synced_at":"2025-09-18T18:31:56.972Z","repository":{"id":55537271,"uuid":"95089296","full_name":"davidshepherd7/anki-mode","owner":"davidshepherd7","description":"An Emacs major mode for creating anki cards","archived":false,"fork":false,"pushed_at":"2020-12-24T11:57:29.000Z","size":64,"stargazers_count":49,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-12-29T06:41:53.557Z","etag":null,"topics":["anki","emacs","flashcards","memorization"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidshepherd7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-22T07:51:15.000Z","updated_at":"2024-08-10T02:50:11.000Z","dependencies_parsed_at":"2022-08-15T02:50:19.520Z","dependency_job_id":null,"html_url":"https://github.com/davidshepherd7/anki-mode","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidshepherd7%2Fanki-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidshepherd7%2Fanki-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidshepherd7%2Fanki-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidshepherd7%2Fanki-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidshepherd7","download_url":"https://codeload.github.com/davidshepherd7/anki-mode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233507211,"owners_count":18686642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anki","emacs","flashcards","memorization"],"created_at":"2024-08-05T06:01:55.927Z","updated_at":"2025-09-18T18:31:51.595Z","avatar_url":"https://github.com/davidshepherd7.png","language":"Emacs Lisp","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"[![CI](https://github.com/davidshepherd7/anki-mode/workflows/CI/badge.svg)](https://github.com/davidshepherd7/anki-mode/actions)\n[![melpa][melpa-badge]][melpa-link]\n\n[melpa-link]: http://melpa.org/#/anki-mode\n[melpa-badge]: http://melpa.org/packages/anki-mode-badge.svg\n\n# Anki mode\n\nA major mode for creating [Anki](https://en.wikipedia.org/wiki/Anki_(software)) cards.\n\n## Installation\n\n1. Install [anki-connect](https://github.com/FooSoft/anki-connect) (anki addon 2055492159) and restart Anki.\n2. Install this package (either by using melpa, or by dropping the `.el` file into your path and require-ing it).\n3. Set `anki-mode-markdown-command` to your preferred markdown parser command, or install `pandoc` to use the\n   default. `pandoc` with github flavoured markdown is the default because it handles `_`\n   well. To disable markdown entirely set `anki-mode-markdown-command` to `cat`.\n\n\nFor pandoc version 2.0 or older you'll need to modify `anki-mode-markdown-command` slightly:\n\n```\n(setq anki-mode-markdown-command \"pandoc --from markdown_github --to html\")\n```\n\n\n## Usage\n\nCall `anki-mode-menu` to begin. Note that Anki must be running in order to use\n`anki-mode`.\n\n\n### Other features\n\n* Press `$` to insert `[$] [/$]` for latex maths.\n* Press `tab` to cycle through card fields.\n* Command `anki-mode-cloze-region`: wrap the selected region in a cloze deletion\n  (with the number autodetected).\n\n### TODO\n\n* Updating existing cards would be useful.\n* Currently LaTeX can only be compiled within Anki itself (by previewing the card).\n\n\n## File format\n\nThe `@` character at the beginning of a line is used to mark the name of a\nfield. Everything else on the line is used as the field name (with leading and\ntrailing whitespace removed), everything from the next line until the start of\nthe next field is used as the contents of the field.\n\nFor example a standard \"Basic\" card type would be written as:\n\n```\n@Front\nWhat is a foo?\n@Back\nA particularly vicious variety of dandelion.\n```\n\nYou can use markdown inside fields.\n\n\n## See also\n\nIf you prefer org-mode to markdown, you might prefer to use [anki-editor](https://github.com/louietan/anki-editor).\n\n[org-drill](https://orgmode.org/worg/org-contrib/org-drill.html) and\n[pamparam](https://github.com/abo-abo/pamparam) are implementations of an entire\nspaced repetition system within Emacs. You might prefer one of these if you want\nto do the memorisation part of spaced repetition within Emacs, I prefer to use\nthe Anki mobile app.\n\n\n## Changelog\n\n### Unstable\n\n* A magit-status-like menu screen\n* Cycle through card fields\n* Various minor quality improvements\n* Handling of non-default card types\n* Add an error message when card already exists\n* Depend on pandoc 2.0 by default\n\n### 0.1\n\n* Basic card creation\n* Markdown rendering\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidshepherd7%2Fanki-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidshepherd7%2Fanki-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidshepherd7%2Fanki-mode/lists"}