text editor for Latex, the selection or html source (FORK)

AnkiWeb addon 1184418999

Fork of External Editor (AI-detected; may be wrong)

2 other versions of this addon exist. Compare versions ↓

Sends selected text or HTML source to an external editor and reinserts edited content at the same position, with configurable shortcuts.
AI-generated summary; may contain mistakes.

formattingshortcutsfork-or-reupload

Open on AnkiWeb Forum topic Find alternatives

AnkiWeb

Votes
3 (πŸ‘ 3 Β· πŸ‘Ž 0)
Updated
2020-07-25
Anki versions
<=2.1.44
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

abandoned

  • Last update or commit: 2020-07-25 (2290 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.242.1.442020-07-25
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
External Editor original unknown abandoned 17 May 2022 πŸ‘ 17 Β· πŸ‘Ž 4 60% 7
↳ External Note Editor (vim, vscode, atom, ...) likely stale 16 Apr 2026 πŸ‘ 16 Β· πŸ‘Ž 8 47% 8
↳ text editor for Latex, the selection or html source (FORK) this addon (AI-detected; may be wrong) unsupported abandoned 25 Jul 2020 πŸ‘ 3 Β· πŸ‘Ž 0 44% –

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

Add Table has 1 fork β†’

Inserts customizable HTML tables through a dialog or keyboard shortcut, or converts selected pipe-delimited markdown-like text into a table; it does not edit existing tables.

formattingshortcutsfork-or-reupload

144 votes 93% approval πŸ‘ 140 Β· πŸ‘Ž 4 ⭐ 7 Anki 2.1.65~ Updated 2023-06-18

Description

This is a fork of the add-on External Editor. I use the version from 2020-03-06 which works great in linux for me but I besides editing the html source I also wanted to just send the selection to an external editor as plain text. The default shortcut to save back the edited text into Anki is "Ctrl+Shift+F6", to just send the text it's "Ctrl+F6". You can adjust these in the add-on config. If you don't need my additions you should use the original version of the add-on. My add-on has more code and more code means a higher chance to run into a bug. You must probably adjust the config for your computer and adjust the path of the editor and command line arguments needed. How you do this depends on your operating system. When I use the option to re-insert the content of the temporary file back into the anki editor it's exactly at the same position. So if you had some prior formatting the reinserted text will have it applied, too. If your selected text contained closing tags these will have been removed. Example: You have <​b>Hallo<​/b>World. You select "lo Wor" and edit it to "TEST" then afterwards you'll have <​b>HalTESTld which is invalid html because there's no closing b tag. In my Anki 2.1.28 Anki automatically adds a closing b tag. So don't mindlessly use this add-on on all kinds of selections. This could be useful if you are editing latex or have one of the markdown add-ons. You can also just send the text without ever getting it back into the Anki editor (default shortcut "Ctrl+F6") Some of my cards have code snippets. Sometimes I want to tweak them and run modified versions. And maybe I'll make cards with code that needs to be fixed or completed in the future. So far I copied this code and manually opened my text editor with a new/temporary file and then pasted my selection. # Limitations I don't have a Mac so this add-on was not tested on MacOS. So you'll probably run into an error on MacOS that I can't fix. Code contributions are welcome. Use it at your own risk.