remove linebreaks / do word wrap

AnkiWeb addon 2028179508

Removes line breaks from selected text or the entire field, preserving double breaks, stripping trailing hyphens, with context-menu access, undo support, and configurable shortcuts.
AI-generated summary; may contain mistakes.

note-managementformattingshortcutsfork-or-reupload

Open on AnkiWeb GitHub Forum topic Find alternatives

AnkiWeb

Votes
40 (πŸ‘ 40 Β· πŸ‘Ž 0)
Updated
2025-08-27
Anki versions
2.1.55~
License
AGPL-3.0 (from the headers of the Python files)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

stale

  • Last update or commit: 2025-08-27 (431 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 2 open, 4 closed.
  • Pull requests: 0 open, 0 merged.
  • Median first response: 18 hours (5 answered issues and pull requests).
  • Outside pull requests: 0% of 1 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.222.1.55+2025-08-27
History across monthly snapshots

Loading…

Similar addons

Bold Word in Sentences (JP)

Automatically bolds target Japanese vocabulary within sentence fields using morphology-aware matching, with dry-run preview, browser integration, custom readings, and optional furigana clearing.

note-managementformatting

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 Anki 2.1.1~ Updated 2025-12-31
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
Insert HTML wrapper for your style

Wraps selected text in customizable HTML tags using a button or hotkeys, letting users style important words per note type through CSS.

formattingshortcuts

3 votes 44% approval πŸ‘ 3 Β· πŸ‘Ž 0 ⭐ 1 Anki 25.09.2~ Updated 2026-02-16

Description

This add-on tries to remove all line breaks from selected text or when no text is selected the whole field. This is e.g. useful when pasting text from PDF files.

This add-on offers some configuration options (like the shortcut).

You should adjust the default shortcut combination. If the shortcut suddenly stops working you should check if you have a shortcut conflict: If the same shortcut is set twice (e.g in Anki and one add-on or in two add-ons) then the shortcut is not working anymore.

# some features

  • if text is selected, only the selection is affected.
  • can be called from context menu
  • you can undo the action with Ctrl+Z
  • tries to preserve double line breaks
  • the add-on tries to remove "-" which are at the end of the line. A crude algorithm is used that might remove too much or too little.

# Versions

  • 2025-08-27 fix for 25.02+
  • 2022-09-28 fix for 2.1.50+, better soft hyphen removal, some code cleanup
  • 2021-12-11 new icon I like better, misc
  • 2021-04-12 fix for 2.1.41+
  • 2020-05-11 always undo with Ctrl/Cmd+Z, keep formatting when replacing whole field contents. Both changes are made possible by moving the replacing code from python to js (in the webview). Now the add-on always tries to remove "-" at the end of a line, there's no more user setting to deactivate this. If you still have such a user setting it will have no effect.
  • 2019-04-11 initial release

# Problems, Bugs, Errors, Improvements There's a good chance that you'll find bugs. If you find one or have a bug fix or improvement you can tell me in the official support forum or on github.

# other authors This add-on is an extended modification of RemoveLinebreak (which has been unchanged for over three years and looks abandoned).

  • 2016 Remco32
  • 2014 Jeff Baitis
  • 2022 abdnh (pull request 4)

README