Lists to Anki: Convert bulletpoint lists or Org files to Anki Cards

AnkiWeb addon 1029306148

Converts bullet-point lists from LibreOffice HTML, Org, or text files into formatted Anki cards, supporting reversed and cloze notes, images, code highlighting, HTML, and LaTeX.
AI-generated summary; may contain mistakes.

card-creationimportformattingcloze

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
10 (πŸ‘ 10 Β· πŸ‘Ž 0)
Updated
2020-04-08
Anki versions
2.1.22~
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
Python
Description language
en

Maintenance

abandoned

  • Last update or commit: 2022-09-08 (1515 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 20 open, 38 closed.
  • Pull requests: 1 open, 28 merged.
  • Median first response: less than 1 hour (41 answered issues and pull requests).
  • Outside pull requests: 100% of 3 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.22+2020-04-08
History across monthly snapshots

Loading…

Similar addons

kindle2anki (light)

Generates a new Anki deck from Kindle Vocabulary Builder vocab.db files, supporting all Kindle languages and automatically skipping words already present.

card-creationimportbeta

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 Anki 2.1.39~ Updated 2021-12-13
PDF to notes has 1 fork β†’

Converts PDF pages into Anki normal or cloze notes, using each page’s first line as prompt and page images or HTML, with multiple-file, subdeck, scaling, and shortcut options.

card-creationimportcloze

9 votes 27% approval πŸ‘ 5 Β· πŸ‘Ž 4 ⭐ 6 Anki 2.1.66~ Updated 2022-07-24
Bullet-Converter

Converts selected hyphen-bulleted or numbered text in the Anki editor into properly formatted HTML unordered or ordered lists, via a toolbar button or Ctrl+Shift+B shortcut.

formattingshortcuts

3 votes 6% approval πŸ‘ 1 Β· πŸ‘Ž 2 Anki 25.02.1~ Updated 2026-02-23
DirectEdit

Enables direct in-reviewer flashcard text editing with formatting, cloze and list tools, a medical spellchecker, and image resizing, avoiding the browser or edit window.

note-managementformattingshortcutscloze

3 votes 21% approval πŸ‘ 2 Β· πŸ‘Ž 1 Anki 2.1.1~ Updated 2026-10-25
Shuffled List

Creates unordered lists whose items display in random order on each front-side review, using a toolbar button or Ctrl+Shift+U on highlighted text.

formattingshortcutsquiz

4 votes 30% approval πŸ‘ 3 Β· πŸ‘Ž 1 ⭐ 0 Anki 2.1.54~ Updated 2022-09-26

Description

This addon allows a user to submit bullet points written in LibreOffice, txt files or Org files to Anki with formatting intact. Support will come in the future but for the mean time I suggested using the free document editor LibreOffice Editor Overview DEMO Demo of me using LibreOffice and uploading cards to Anki! The following functionally is supported
  1. Creation of Basic Anki cards
  2. Creation of different note types => Reversed cards
  3. Notes with non-default fields
  4. Uploading images
  5. Automatic syntax highlighting for Code
  6. Html and Latex support
More info on syntax Documentation for LibeOffice use Documentation for more advanced usage The addon allows the user to write bullet point lists as follow * What is the capital of Ireland? * Dublin * What is the capital of France? * Paris The user then saves the LibreOffice file as a HTML file. This can then be directly uploaded to the Anki application. GENERAL USE
  1. Save LibreOffice as a html file (web page)
  2. Go to the main tool bar and click => Tools > Import list into Anki cards
  3. Select your saved file and click ok!
Look at the demo for more information. HOW TO USE THE ADDON => LibreOffice files Bullet point lists can be created as the example above. The Question is above and the answers is indented by one level. Both question and answers can have multiple lines. These must then be saved as HTML files and can be directly uploaded to Anki. Saving a LibreOffice file File > Save As For "File type" select "HTML Document (.html)" Once you have saved you file upload to Anki by doing the following. Tools > Import list into Anki cards Select the html file and click ok! HOW TO USE THE ADDON => Org files Once you have saved you file upload to Anki by doing the following. Tools > Import list into Anki cards Select the html file and click ok! For more information on how to use the addon with Org files please visit the Github README MORE INFO This addon was originally inspired by the use of Org mode which is just another form of Markup normally associated with Emacs. COMPATIBILITY Unfortunately this add-on currently only supports Anki 2.1 going forward. All cards generated should be backwards compatible as of the V1 release of this add-on. CHANGELOG 2020/04/07 Release of V1.6.1 => Support for new delete hook 2020/1/26 - Release of V1.6.0 => Check for default note models 2020/1/22 - Release of V1.5.0 => Support for no default deck 2019/8/28 - Release of V1.4.0 => Tags support, url image support and buxfixes 2019/6/13 - Release of V1.3.0 => Bug fixes and Cloze support 2019/4/29 – Release of V1.1.0 => Unicode support 2019/4/29 – Release of V1.0.1 => Bugfix 2019/4/22 – Release of V1.0.0 2019/04/1 – Release of Beta version V0.2.2 2019/02/18 – Release of V0.2.1 2019/02/18 – Release of another Beta version V0.1.3 2019/02/18 – Release of Beta version V0.1.1 SUPPORT Please do not report issues or bugs in the review section below, as I will not be able to reply to them nor help you. Instead, please report all issues you encounter either on GitHub. CREDITS AND LICENSE Copyright (c) 2019 c-okelly Licensed under the GNU AGPL v3. The code for this add-on is available on GitHub

README

org_to_anki

Build Status codecov

Python module to convert org or txt files into Anki question decks. Also offered as an Add-on for Anki Lists to Anki

Provides a command line script to upload an org or txt file to Anki.

Based on AnkiConnect. An addon for Anki that provides a HTTP api for Anki.

Contents

  1. Supported file types
  2. What is an org file
  3. Using Org or text files
  4. Using LibreOffice files
  5. Installation
  6. Comand line scripts
  7. Running tests
  8. Contributing

Supported file types

This project supports reading from both .org, .txt and odt (LibreOffice) files.

To use LibreOffice files these must first be saved as HTML files. Please read the documentation on this.

Microsoft Word (.docx) files are no longer supported. Migration path is below

Word files to LibreOffice migraiton path

Users with existing Word files can migarte them to Libre office by doing the following:

  1. Install LibreOffice (Free / OpenSource Word equvilant)
  2. Open the file in LibreOffice
  3. Save file as ODT format

What is an org file?

An org files a basic text file, very similar to .txt files. The file type is from Org Mode for Emacs but really you don't need to know much about this.

This is all you need to know for this project.

  • Asterisks ( * ) are used to to create bullet point style lists.

  • .org files are series of lists

  • A list item for a question starts with *

  • A list item for a answer starts with **

  • A comment starts with a #

Examples are provided below.

Here is some example syntax for how question should be laid out

* Question
** Answer 1
** Answer 2
* Another Question
** Another answer

More information on org-mode

Org mode is for keeping notes, maintaining TODO lists, planning projects, and authoring documents with a fast and effective plain-text system

orgmode homepage

Org and Text files

Documentation on Org and Text files

LibreOffice

Documentation on LibreOffice files

Installation

Requirements

  1. Have the Anki app installed.

  2. Installing the Anki plugin AnkiConnect.

    i. For macOS users of anki-connect see note for macOS users

    ii. For Windows users of anki-connect see notes for Windows users

To install this module from source on Linux or macOS:

git clone https://github.com/c-okelly/org_to_anki
cd org_to_ani
python3 setup.py install

If the org_to_anki command returns a module not found error try the using the following command:

pip3 install ./

instead of

python3 setup.py install

Command line scripts

org_to_anki

org_to_anki
  • Upload the default org file to Anki
org_to_anki /path/to/your/org/file.org
  • Upload the specified file to Anki

Config values

  • Config in project root contains all the default values for running
  • Default org file is located at ~/orgNotes/quickOrgNotes.org
  • Default anki-connect url is http://127.0.0.1:8765/

Testing

A number of extra libraries are used in testing

  • To run unittests
python3 setup.py nosetests

Contributing

All contributions are welcome. Please open a issue first to discuss your ideas!