Bulk Cloze Selected List Items

AnkiWeb addon 702500540

Converts selected editor lines into cloze deletions in bulk, skipping blanks, stripping bullets, using the next available cloze number, with optional per-line increment toggle.
AI-generated summary; may contain mistakes.

card-creationcloze

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-05-24
Anki versions
<=2.1.26
Description language
en

Maintenance

active

  • Last update or commit was 129 days before the snapshot (2026-05-25).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.26–2026-05-24
History across monthly snapshots

Loading…

Similar addons

Cloze List Items

Adds an editor button and configurable Alt+Shift+L shortcut to automatically wrap current-field list items with c[n+1] cloze deletions, including only selected items.

card-creationshortcutscloze

Rating 2 πŸ‘ 2 Β· πŸ‘Ž 0 Anki 23.12.1~ Updated 2024-03-05
Edit While Reviewing πŸš€

Enables in-reviewer field editing with formatting toolbar, cloze/list tools, medical spellchecker, and image resizing, configurable via settings without opening Browser or Editor.

note-managementformattingcloze

Rating 3 πŸ‘ 2 Β· πŸ‘Ž 1 Anki 2.1.1~ Updated 2026-09-13

README

Bulk Cloze Selected List Items

Anki add-on for converting selected editor lines into cloze deletions.

Install from AnkiWeb: https://ankiweb.net/shared/info/702500540

Install

  1. Copy this folder into Anki's addons21 directory, or symlink it there.
  2. Restart Anki.
  3. Open the Add window or Browser editor.

Anki 2.1.26 or newer is expected. When installed locally, Anki should display the add-on as Bulk Cloze Selected List Items.

Usage

Select multiple lines inside an editor field, then click the Bulk Cloze toolbar button.

Example selected text:

apple
banana
strawberry

Becomes:

{{c1::apple}}
{{c1::banana}}
{{c1::strawberry}}

By default, all selected lines share the same cloze number.

Blank lines are skipped. Common bullet prefixes are stripped, including - , * , β€’ , and numbered prefixes like 1. .

If the current note already contains clozes, the add-on uses the next cloze number. For example, if the note already contains {{c1::sample text}}, the selected list items become {{c2::...}}.

Use the 1+ toolbar button to toggle per-line numbering while editing. When per-line numbering is enabled, this selected text:

apple
banana
strawberry

becomes:

{{c1::apple}}
{{c2::banana}}
{{c3::strawberry}}

If the note already contains {{c1::sample text}}, the same selected list starts at c2 and becomes c2, c3, c4.

Test

  1. Create or edit a cloze note.
  2. Paste several lines into one field.
  3. Select those lines.
  4. Use the toolbar button.
  5. Confirm each nonblank line is wrapped as {{c1::text}}.
  6. Try the action with no selected text and confirm Anki shows a tooltip asking you to select list items first.
  7. Add {{c1::sample text}} earlier in the same field, then select a plain list below it and confirm the list items are wrapped as {{c2::text}}.
  8. Click the 1+ toggle, select a plain list, and confirm the cloze numbers increment per selected line.

Configuration

The add-on exposes these config values:

{
  "cloze_number": 1,
  "increment_per_line": false
}

cloze_number is the minimum/default cloze number. Existing clozes in the current note still take precedence when the add-on chooses the next number.

increment_per_line controls whether each selected line gets the same cloze number or increasing cloze numbers. The 1+ editor toggle updates this setting without opening the add-on config page.