Customize Editor Stylesheet

AnkiWeb addon 1215991469

Lets users customize the Editor widget’s stylesheet via an _editor.css file in their media collection, with a toggle and hotkey.
AI-generated summary; may contain mistakes.

shortcutsappearance

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
12 (👍 10 · 👎 2)
Updated
2018-09-04
Anki versions
unknown
License
AGPL-3.0 (from the GitHub repository)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python
Description language
en

Maintenance

abandoned

  • Last update or commit: 2024-04-07 (938 days before the snapshot).
  • The GitHub repo is shared with 13 other addons; its commits, issues and releases are not specific to this one.
  • Commits in the last year: 0.
  • Issues: 62 open, 27 closed.
  • Pull requests: 16 open, 26 merged.
  • Median first response: 84 hours (85 answered issues and pull requests).
  • Outside pull requests: 72% of 36 merged.

GitHub

Repository
glutanimate/anki-addons-misc · more by glutanimate
Same repository
Search and Replace Tags, Let it Snow!, Quick Field Navigation, Create Filtered Deck from the Browser, Open 'Added Today' from Reviewer, True Retention by Card Maturity, Field History, Insert Randomized Lists (multiple choice), Tag Entry Enhancements, Refocus Card when Reviewing (2.1) and 3 more
Stars
⭐ 183 · forks 56 · open issues 78 (for the whole repository)
Last commit
2022-12-24
License
AGPL-3.0
Languages
Python, Shell, HTML, Makefile
Tests
0

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.0–2018-09-04
History across monthly snapshots

Loading…

Similar addons

Content Injector

Injects global HTML, CSS, and JavaScript files into Anki cards at render time, with configurable files, placement, and toggles, without altering card content.

appearancecard-templates

2 votes 34% approval 👍 2 · 👎 0 ⭐ 3 Anki 2.1.33~ Updated 2020-09-03
Simple Markdown

Converts Markdown notes to HTML automatically after editing, with an optional manual conversion button and configurable Markdown extensions such as fenced code blocks.

formatting

8 votes 41% approval 👍 6 · 👎 2 ⭐ 3 Anki 25.02.5~ Updated 2025-11-21

Description

Allows you to customize the stylesheet of the Editor widget in Anki. COMPATIBILITY Initial tests have shown this add-on to both work on Anki 2.0.x and Anki 2.1.x. However, as the Anki 2.1.x line of releases is still in beta, I cannot provide any kind of official support for this platform. Please do not report issues with Anki 2.1 in the review section below. Instead, please report all issues you encounter on GitHub. USAGE Create an _editor.css file in your media collection, add your custom CSS rules to it, and restart Anki. Use the css class .field to format all fields in the Editor widget. The addon can be switched on and off in the main window via Tools - "Custom Editor Styling" (hotkey Shift+E in the Deck View). After changing this setting, reopen all Browser and Add windows. Compatibility with the addon Night Mode (Version 2017-03-06): By default this addon is disabled when the Night Mode is activated. Compatibility with the addon Power Format Pack (Version 2017-05-14 ): If you have set a background-color in the class .field in your _editor.css, this overrides the orange background color that PFP applies in Markdown Mode. If you would like to restore that color you can modify your _editor.css as follows: /* applies to all fields that are not in markdown mode */ .field:not(.mdstyle){ /* place your custom field background color here: */ background-color: #F5F6CE ! important; } /* applies to all fields in markdown mode */ .mdstyle { /* The default color PFP uses is #FFEDD3 */ background-color: #FFEDD3 ! important; } Compatibility with future versions of Night Mode and Power Format Pack is not guaranteed. No further updates of this addon are planned. CHANGELOG 2018-09-04 – Fix issues with %-signs and other format string chars (thanks to Lu Zhe) 2017-08-23 – Initial 2.1 compatibility 2017-08-04 – Initial release SUPPORT Please do not report issues or bugs in the review section below, as I will not be able to reply to them nor help you. Instead, please report all issues you encounter either on GitHub, or by posting a new thread on the Anki add-on support forums while mentioning the name of the affected add-on in your thread title. CREDITS AND LICENSE Copyright © 2017 Glutanimate This add-on was commissioned by a fellow Anki user. All credit for the original idea goes to them. Licensed under the GNU AGPL v3. The code for this add-on is available on GitHub. MORE RESOURCES A lot of my add-ons were commissioned by other Anki users. If you enjoy my work and would like to hire my services to work on an add-on or new feature, please feel free to reach out to me at: ankiglutanimate [αt] gmail . com Want to stay up-to-date with my latest add-on releases and updates? Feel free to follow me on Twitter: @Glutanimate New to Anki? Make sure to check out my YouTube channel where I post weekly tutorials on Anki add-ons and related topics: / Glutanimate

README

Miscellaneous Anki Add-ons

This repository contains most of the smaller Anki add-ons I have written over the years. For more information on each add-on please take a look at the comments in the respective source file, or at its AnkiWeb description.

Generic Installation Instructions

Installation from AnkiWeb

Most add-ons in this repository have been published on AnkiWeb and may be comfortably installed via Anki's own add-on management system. To correlate each source file with its listing on AnkiWeb please refer to the add-on titles in their AnkiWeb descriptions.

Manual Installation

  1. Open Anki's add-on folder by navigating to Tools -> Add-ons -> Open add-ons folder from Anki's main screen

  2. Download a copy of the full repository zip archive

  3. Locate the add-ons you want to install in the src/ directory

  4. Copy the add-on files to Anki's add-on directory

    • in case of Anki 2.0: For each of the add-ons, copy all files its folder aside from __init__.py into the top-most level of Anki's add-on directory (e.g. for reviewer_auto_rate_hotkey you would only copy reviewer_auto_rate_hotkey.py)
    • in case of Anki 2.1: For each of the add-ons, copy the entire add-on folder into the top-most level of Anki's add-on directory (e.g. for reviewer_auto_rate_hotkey you would copy the entire reviewer_auto_rate_hotkey folder). Note: Not all add-ons in this repository have been transitioned to Anki 2.1, yet. To learn more about the compatibility status of each add-on please see here.
  5. Restart Anki to see the changes

Naming Scheme

The source file naming describes which part of Anki each add-on interacts with. As such, the names do not always correspond with their listings on AnkiWeb.

Add-on file names also have an impact on their loading order. Files with a leading special character are designed to be imported after most other add-ons have been loaded, as they might interact with them.

Credits

Some of the add-ons found in this repository were either adopted from earlier works by other authors or simply constitute re-uploads of add-ons that disappeared from AnkiWeb, with no original code repository to be found. I have tried to document the development history of each of these add-ons in their source code header, but more detailed information may also be found here.

License

Most of the add-ons in this repository are licensed under the same license as Anki, the GNU AGPL, version 3 or later. Please check the source code comments for more details on the licensing of each add-on.

Other Anki-related Projects

Make sure to also check out my larger Anki projects: