Skip to content

Instantly share code, notes, and snippets.

# -*- coding: utf-8 -*-
"""
Anki Add-on: Hint Hotkeys
Adds two hotkeys to the reviewer: 'H' to reveal hints one by one,
'G' to reveal all hints at once.
Based on "Hint-peeking Keyboard Bindings" by Ben Lickly
Copyright: (c) Ben Lickly 2012 <blickly at berkeley dot edu>
@kanjieater
kanjieater / __init__.py
Last active August 18, 2019 21:20
automate mia japanese calls
from aqt import mw
from aqt.qt import QAction, QKeySequence
from anki.hooks import addHook
buttonText = "-------------Bulk-add Routine------------"
ROUTE_1_KEY = 'Ctrl+9'
def setupMenu(browser):
from importlib import reload
@kanjieater
kanjieater / kanjiVocab.css
Created June 9, 2019 17:14
KanjiVocab Styles
/* KanjiVocab*/
.kv_kanji_known, .kv_kana_known {
border: 3px solid #b6d7a2 ;
border-radius: 3px;
}
.kv_kanji_mature, .kv_kana_mature {
border: 3px solid #569056;
border-radius: 3px;
<div class="fonts">
<span style="font-family:YUMIN">{{Kanji}}</span>
<span style="font-family:YUGOTHB">{{Kanji}}</span>
<span style="font-family:HGRKK">{{Kanji}}</span>
<span style="font-family:HGRGY">{{Kanji}}</span>
<span style="font-family:AoyagiSosekiFont">{{Kanji}}</span>
<span style="font-family:PixelMplus12px-Regular">{{Kanji}}</span>
</div>