- Place your fonts into your
collection.media
directory- For Android the default path is
/storage/emulated/0/AnkiDroid/collection.media
- For Android the default path is
- Copy the contents of style.css into the styles section of your card
- You can simply append the contents of that file to your existing style.css
- If you add / remove any font files, style.css needs to be updates accordingly. It should be fairly straightforward
- Except for the first line, Copy the contents of example.html into the front and or back section of your card
- Generally you can simply append the contents of that file, except for the first line:
- Note how the first line of that file includes
<span class=random-font>{{Katakana}}</span>
as an example - You want to update any element that should inhibit the randomized font, similar to the example line above
- Note how the first line of that file includes
- In case you update your available fonts this section needs to be updated as well:
const fonts = [ "acgyosyo", "ackaisyo", "Noto Serif JP", // ... ];
- Generally you can simply append the contents of that file, except for the first line:
-
Notifications
You must be signed in to change notification settings - Fork 0
ihavenoface/anki-random-font
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published