AnkiWeb
- Rating
- 14 (π 14 Β· π 0)
- Updated
- 2022-06-17
- Anki versions
- 2.1.49~
- Description language
- en
AnkiWeb addon 1476821676
Randomizes Japanese card review by changing fonts, swapping hiragana and katakana, displaying vertical text, and varying size.
Open on AnkiWeb GitHub Ask about alternatives
abandoned
| Min Anki | Max Anki | Updated |
|---|---|---|
| 2.1.30 | 2.1.49+ | 2022-06-17 |
Loadingβ¦
Randomizes card fonts based on configurable criteria like fields, tags, deck, note type, card state, success rate, and pass count, using language classes in card templates.
Randomizes card text font, size, bold/underline color, and placement, with each feature toggled on or off via true/false settings in the config.
Parses HTML ruby furigana from Japanese expression fields into separate hiragana/reading and kanji fields for selected decks and note types, enabling better compatibility with other addons.
Generates comprehensive Japanese glossaries for hiragana, katakana, and kanji using external APIs, with batch processing, smart caching, progress tracking, and customizable HTML output.
Randomizes fonts for card text by assigning language classes, with configuration for search criteria and enabling or disabling fonts per language.
Randomly applies a font from a configurable list to each card via a style tag, using fonts installed on your system.
Download from AnkiWeb https://ankiweb.net/shared/info/1476821676
build.batwinget upgrade Microsoft.PowerShell to get powershell 7)meta.json(it may not exist) into a .zip file, and then rename to a .ankiaddon fileThis addon's features include:
γͺγ³γ΄γε₯½γγ§γ will sometimes convert to γγγγ¬ε₯½γγγΉexpression-field to it. Migaku cards should work by default as migaku-word-front is also a valid class name to enable this feature. To add the class name to your card, edit your card and you should see something like <div class="question">{{Expression}}</div> you just need to add expression-field to the class list like so <div class="question expression-field">{{Expression}}</div>. The {{Expression}} part might be different, it's just the name of the first field of your card.expression-field or migaku-word-front as their class. Read the instructions for Vertical Text in order to set this upAfter installing the addon through the anki web addon page the addon will be enabled by default. Simply start reviewing cards and fonts will be randomized along with katakana and hiragana being randomly swapped.
The addon can be configured by going to Tools->Add-ons, Selecting JapaneseCardRandomizer, then selecting Config. Below are what each config value does:
limitedToTheseDecks Every sub section has a the ability to limit it to only certain deck names. Please note that the true deck name might differ from what's displayed visually. To get the correct deck name click the options/gear icon and click "rename" and copy the text. Both this and globalDeckLimitation support wildcards. For example japanese* will match japanese kanji, japanese sentences etc.
globalDeckLimitation This is for convenience if you just want all the features enabled but only for certain decks. This saves you having to enter the deck name in the limitedToTheseDecks for every option.
globalDeckLimitation AND limitedToTheseDecks for that feature. So if you have a global deck limit of ["Deck A"] and the font randomizer has a deck limit of ["Deck B"], then Deck A will not have the font randomizer enabled, because the global deck limiter restricts that.katakanaConverter This feature swaps all hiragana and katakana around to allow for some extra katakana reading practice.
chance Controls the percent chance to swap all hiragana and katakana.
fontRandomizer Switches randomly between a set of selected fonts
fontsToRandomlyChoose A list of what fonts to randomly change to. The fonts you enter in fontsToRandomlyChoose MUST be in your /collections.media folder in anki. Format ["A.tff", "B.tff", "C.tcc"]A.tff, B.tff, and C.tff, and the font on your card is already A.tff then fontsToRandomlyChoose should be ["B.tff", "C.tff"]verticalText Switches the card to layout text in a vertical left to right fashion, just like light novels are displayed. This is for vertical text reading practice
chance The chance to convert to vertical text. NOTE: This is set to 0 by default.expression-field to it. Also for ease of use, Migaku cards should work by default as the class name migaku-word-front is also used to enable this feature. For example, if you edit your card and see something like <div class="question">{{Expression}}</div> you just need to add expression-field to the class list like so <div class="question expression-field">{{Expression}}</div>styleMaxHeight This controls the maximum height for vertical text. Default is 80% of the screen size.sizeRandomizer Randomizes size of any elements with expression-field or migaku-word-front as their class. To set this up read the setup instructions for verticalText
enabled Enables the feature. true or falseminSize Minimum sizemaxSize Maximum sizeunits Sets the units to use for styling the font size. For example px as a unit would mean that if 50 was randomly chosen to be the font size, the final style would be 50pxBesides the Anki config you can also do the following:
font-name and it will be filled in with the randomly chosen font name. Useful for finding what the name of a font you like or don't like is. Example: <span class="font-name"></span>font-size and it will be filled in with the randomly chosen font size. Example: <span class="font-size"></span>The process for adding a new font goes as follows:
myfont.tff, and copy it to the /collections.media folder of your Anki install."fontsToRandomlyChoose": ["_hgrkk.ttf", "_yugothb.ttc"] you just need to add your font to the end like so: "fontsToRandomlyChoose": ["_hgrkk.ttf", "_yugothb.ttc", "myfont.tff"]Disabling katakana conversion can be done by setting percentChanceToConvertToKatakana to 0, and disabling font randomization can be done by setting fontsToRandomlyChoose to []
This addon is shares the same licence as Anki (GNU Affero General Public License 3).