Add Hyperlink

AnkiWeb addon 318752047

Adds a dialog and context menu entries for inserting, editing, and unlinking hyperlinks in note fields, with configurable keyboard shortcuts.
AI-generated summary; may contain mistakes.

formattingshortcutsfork-or-reupload

Open on AnkiWeb GitHub Forum topic Find alternatives

AnkiWeb

Votes
86 (πŸ‘ 83 Β· πŸ‘Ž 3)
Updated
2023-06-18
Anki versions
2.1.65~
License
Not found (this does not mean that the addon has no license)
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: 2023-06-18 (1232 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 4 open, 16 closed.
  • Pull requests: 0 open, 2 merged.
  • Median first response: 9 hours (18 answered issues and pull requests).
  • Outside pull requests: 100% of 2 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.442021-11-21
2.1.452.1.492021-11-21
2.1.502.1.65+2023-06-18
History across monthly snapshots

Loading…

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 ad-don is just about adding hyperlinks into your fields of your notes. Nothing more. This add-on adds a dialog to enter hyperlinks (see screenshot below) and some context menu entries for handling hyperlinks. The shortcuts to insert a hyperlink (default Ctrl+Shift+H) and unlink (Ctrl+Shift+Alt+H) can be configured using the configuration window of 2.1: Tools>Add-ons, select the add-on and click on "Config". The add-on extended editor for field (for tables, search&replace, ...) is also useful to add, delete or edit hyperlinks, i.e. it's an alternative to this add-on. This is a partial fork of the add-on Power Format Pack (Copyright 2014-2017 Stefan van den Akker) because it won't be ported to 2.1 (as of 2018-11). # Styling If you don't like how the hyperinks look like during reviews (blue and underlined) you can adjust this by changing some css in the styling section of the card templates for window. To change how hyperlinks look in the editor you need (in Anki 2.1.49) another add-on like https://ankiweb.net/shared/info/181103283 (but this is pretty complicated). # Alternatives For some uses cases (links to the same site that have a similar url structure) this built-in feature is better: https://apps.ankiweb.net/docs/manual.html#dictionary-links # bugs, errors, feedback Please do not use reviews for bug reports or support requests. I don't get notified of your reviews, and properly troubleshooting an issue through them is nearly impossible (formatting is limited and I can't reply multiple times). If you find a bug let me know in the official anki support forum, on github. The source code is available on github. # Credits - Stefan van den Akker (the original code for Anki 2.0) - Arthur Milchior (all the changes in the version from 2020-04-03, mainly the optional config with a GUI with the add-on Graphical form to change add-on configuration). # Versions - 2023-06-18 (2.1.50+ only) fix hyperlink sometimes inserted at the beginning of a field; if clipboard or selected text is an url put it in the hyperlink dialog in the url field (issues 20,21) - 2023-04-30 (2.1.50+ only) fix a bug occuring in 2.1.50+, new option in dialog to prepend https/https - 2022-05-23 fix for 2.1.50/qt6: fix "open url" etc context entries. - 2022-02-09 fix for 2.1.50 context menu - 2022-01-26 fix 2.1.50 for qt5 - 2021-12-05 version for 2.1.50, thanks @zjosua for the update. - 2021-11-21 add "when problems occur" section to config.md - 2021-07-10 some cleanup for 2.1.45 - 2020-07-29 partially reverse change from 2020-06-15, at least sometimes keep the surrounding formatting, see issue 7. - 2020-06-18 fix latest release: rename a function everywhere ... - 2020-06-16 added editor context menu "open URL" (in browser), can be switched off/hidden in the add-on config - renamed a config option - made a context menu entry optional - yesterdays addition is optional - strip whitespace around links - 2020-06-15 try to deal with illegal characters in URL("), remember window size - 2020-04-03 optional config with a GUI with the add-on Graphical form to change add-on configuration - 2019-10-20 improve interoperability - 2019-10-15 manifest.json - 2019-04-11 added context menu entries (experimental) - 2018-11-03 initial release

README

Add-on for Anki 2.1, for details see Add Hyperlink.

License is in the folder src.