47 1
Contact Author Sign in to rate

Add Hyperlink

0.02MB. Updated 2021-07-11. Only supports Anki 2.1.x.
The author has shared 70 other item(s).

Description

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". Use this at your own risk. 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). # 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. # other useful add-ons If you want to replace the PowerFormatPack in Anki 2.1 you might also be interested in these add-ons: - Mini Format Pack - Syntax Highlighting for Code - add table - Auto Markdown - convert Markdown to HTML - Mini Format Pack Supplementary # 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 - 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

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:

318752047

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author

Reviews

on 1631048809
awesome
on 1630051900
It works! Thanks.
on 1628002254
Great, thanks a lot!
on 1627577584
Good
on 1622859369
Worked with my MacBook Pro 2017, Anki Version ⁨2.1.44
on 1622337134
Duro asere
on 1619618340
This is a very useful and underrated addon! Thank you so much for your support
on 1617481244
Can you add support so we can add hyperlinks by right clicking on them ? This way we won't have extra widget symbols.
Comment from author
Downvotes don't motivate me to add features. So no.

Besides this general point I don't really understand your feature request. I like my context menu and if you have a valid url (and no other text) selected this add-on adds an entry "Hyperlink - transform to hyperlink" to the context menu. Though this only works if the text selected starts with http or https (the protocol) which seems to be needed so that the link works as expected, see https://stackoverflow.com/questions/43803778/href-without-https-prefix/43803838
on 1617282757
Should be implemented in Anki
on 1616150395
Works fine. Thanks.
Anki version ⁨2.1.38 (355e4cd5)⁩
on 1615003301
works perfect!
on 1614880747
Great!
on 1611134331
Brilliant. Simple and effective.
on 1610769584
excellent !!!
on 1607768028
Sometimes I forget that this is not a default feature of anki.
on 1606696278
This addon makes my life so easy. It is a must have, if you likes to use links in your card.
on 1605228986
Nice Work ! Thanks a lot ! :)
on 1604418372
Oh my God! Thank you! It's very useful for sync with my notes in Evernote
on 1603270606
I use it every now and then – it has olost some use cases for me since I discovered that when pasting in Anki *preserving* formatting, a URL becomes a hyperlink.
on 1603015015
Useful, should be shipped with Anki by default.
on 1596375708
great
on 1596058993
Just realized that I never rated this.

Such a simple yet important addon.

Thanks a lot, ijgnd, for your contributions to the community! πŸ‘‘
Comment from author
Ignore the prior text. This referred to a different review. Thanks for the upvote.
on 1593325868
nice thank you
on 1591925782
Awesome! めっけゃ良いです…!
on 1590592281
Useful add-on. It would be nice if there could be a default text to display value (e.g. "Link"), if one is not entered.
on 1590290474
Perfect!
on 1587162007
Awesome
on 1583951570
I use night mode in ankidroid and the hyperlink text is very dark blue, how can I change it to light blue? In the desktop version it's light blue in the reviewer but it's still dark blue in the browser, how do i change it in the browser too?
Comment from author
This add-on only inserts the hyperlinks. How they are displayed depends on Anki or Ankidroid. How they are styled is a general question of styling. I don't know much about styling html - maybe try reddit.com/r/anki ?

In Anki for desktop by default you can't change how it looks in the editor (at the bottom of the browser). There's an add-on that allows to style the editor, too, but it's complicated to setup: Customize Editor Stylesheet, https://ankiweb.net/shared/info/1215991469
on 1582717800
Legendary add-on! Oh how I've missed being able to add hyperlinks to here and to there.
2.1 has been breaking old add-ons all over the shop, but with THIS... the world is right again.

Cheers!
on 1582556121
Very useful add-on. Often I need to hyperlink to external resources and this helps.
on 1580568198
This worked well! I like shortcut keys and context menu buttons that are configurable.
on 1577514202
very useful it helped me out 🌻 πŸ‡ 🍰
on 1574625793
Works great. Thank you.
on 1574218241
η»ˆδΊŽζ‰Ύεˆ°δΊ†ε―δ»₯插ε…₯ι“ΎζŽ₯ηš„ζ’δ»ΆδΊ†οΌŒη»™ζ’δ»Άη‚Ήθ΅ž
on 1574086604
thank you
on 1573651834
Thanks!
on 1571862902
Works nice.
on 1571480590
missed in 2.1 - was part of power pack - now alone
on 1569187469
An url-button is added so when you make a new card, you can add an url in the card and make it hot-link,
idem - in an existing card - in the deks/card/browse menu/card field;
works like on the wikipedia:
click the url button and
a screen pops-up with 2 fields:
field 1 where you can add the url,
field 2 where you can add the text to be displayed related to the url in field 1, if you find the url too cumbersome.
on 1567220947
very useful, thanks
on 1566159298
I love it!
on 1561085438
Awesome!
on 1556527731
love it
thanks keep going
on 1549464029
Great add-on that I use for adding source links. Thanks!
on 1548097710
Works well. Nicely done!
on 1547543961
Good! Thank you
on 1542419355
Awesome!! Just what I was looking for. I use links a lot for reviewing stuffs from net. This Addon is a blessing for me! Thanks a million for developing it...
on 1541394102
Thanks!!!