HTML Window source
<10kB. Updated 2020-02-18.
The author has shared 82 other item(s).
Description
# HTML Window source
## Rationale
This add-on is mostly for add-on developers. The main window is
actually three HTML pages on top of each other. This add-on allows you
to see the HTML source of those pages.
## Usage
In the main window, choose "Cards">"View XXXX" to show the HTML code
of X.
Alt+F3 show you the source code of the middle of the page. The part
containing either the list of decks, a deck name, or the content of a
card.
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:2.1.0-2.1.20 (updated 2019-03-14)
2.1.21+ (updated 2020-02-18)
To download this add-on, please copy and paste the following code
into Anki 2.1:
1214415810
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.
This add-on previously supported Anki 2.0. You can
download the last version supporting
2.0 here. As Anki 2.0 has
been discontinued, no support is available for this version.
Reviews
on
1616669260
I needed this while troubleshooting a template I'm designing and it works very well with Anki 2.1.40. It's a shame it can't be invoked from a Browse > Preview window (unless I overlooked something), but it's no big deal really. Thanks a lot. :)
on
1613287796
Viewing the source allowed me to modify a card template.
on
1601204171
Amazing, really helpful... Thankssssssss
on
1580597310
Super helpful in building my addon
Comment from author
I don't see how. But I'm happy to learn I helped a fellow add-on dev'
on
1577499224
Not compatible with Cookie Monster? With Cookie Monster enabled, your add-on dosen't show correct html content. Could you fix it? Thanks.
Comment from author
Can you please post on github, so we can discuss it.
I don't know and use cookie monster.
on
1574107685
quite useful.
on
1572739629
Traceback (most recent call last):
File "aqt\addons.py", line 41, in loadAddons
File "C:\Users\jayr_\AppData\Roaming\Anki2\addons\__init__.py", line 1, in
from . import HTML_window_source
ValueError: Attempted relative import in non-package
on
1567201943
Thanks a lot. Very useful as all your other plug-ins. Makes sorting out Morphman keyword formatting issues a breeze.
on
1559708704
Exactly what I needed to edit my window css. Thank you.
on
1553659734
I finally found out why my style wasn’t apply thanks to you.
The card html tree is : .card .card1 > #qa > (the user card HTML). I was missing #qa to correctly apply flex layout.
on
1553514368
it helped me.
on
1545429002
Makes it easier to style cards.