Shortcut Styler

AnkiWeb addon 1779816603

Applies customizable keyboard shortcuts to add text colors and background highlights to selected text in Anki's editor, supporting multiple styling actions per shortcut.
AI-generated summary; may contain mistakes.

formattingshortcuts

Open on AnkiWeb Ask about alternatives

AnkiWeb

Rating
8 (πŸ‘ 8 Β· πŸ‘Ž 0)
Updated
2025-01-07
Anki versions
2.1.1~
Description language
en

Maintenance

stale

  • Last update or commit was 632 days before the snapshot (2025-01-07).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2025-01-07
History across monthly snapshots

Loading…

Similar addons

Highlight Color Shortcut

Provides keyboard shortcuts to highlight text in configurable colors, with optional bolding via config.json, using Ctrl+Alt plus a color's first letter (bracketed exceptions).

formattingshortcuts

Rating 21 πŸ‘ 18 Β· πŸ‘Ž 3 ⭐ 0 Anki 2.1.16~ Updated 2021-04-01

Description

Shortcut Styler This addon enhances Anki's editor by allowing users to easily apply text colors and background highlights to selected text using customizable keyboard shortcuts. Whether you're looking to make your flashcards more visually engaging or emphasize key points, this addon provides a seamless way to style your text directly in the editor. Features Customize text foreground colors (text color). Apply background highlights (text highlighting). Fully configurable keyboard shortcuts for quick access. Supports multiple actions per shortcutβ€”combine text and highlight changes under a single key press. How to Use the Addon Install the Addon : Download and install the addon through Anki's addon manager or by pasting the addon code. Apply Styles : Open the editor in Anki. Select the text you want to style. Use the configured keyboard shortcuts to apply text colors or highlights. Configuring Keyboard Shortcuts You can customize the keyboard shortcuts and their associated actions by editing the addon's config.json file. Step-by-Step Tutorial : Locate the Configuration File : In Anki, go to Tools > Add-ons . Find the addon in the list and click Config . Understand the Configuration Format : The configuration file is a JSON object that contains a list of keys. Each key specifies: color : The color to apply (hex code, e.g., "#FF0000" for red). shortcut : The keyboard shortcut to trigger the action (e.g., "Ctrl+R" ). type : The type of action ( "Foreground" for text color, "Background" for highlighting). Example configuration: { "keys": [ ["#FF0000", "Ctrl+R", "Foreground"], // Red text ["#FFFF00", "Ctrl+H", "Background"], // Yellow highlight ["#00FF00", "Ctrl+G", "Background"], // Green highlight ["#0000FF", "Ctrl+B", "Foreground"] // Blue text ] } Edit the Shortcuts : Add, remove, or modify the entries in the keys list. For example: To set Ctrl+Y to make text orange: ["#FFA500", "Ctrl+Y", "Foreground"] . To set Ctrl+Alt+H for a blue highlight: ["#ADD8E6", "Ctrl+Alt+H", "Background"] . Save Changes : After editing the file, click Save in the configuration editor. Restart Anki to apply the changes. Examples of Customization Highlight key phrases with yellow using Ctrl+H . Use Ctrl+R to make text red for errors or warnings. Combine foreground and background changes under one shortcut: Add both ["#FF0000", "Ctrl+Shift+R", "Foreground"] and ["#FFFF00", "Ctrl+Shift+R", "Background"] to make text red with a yellow highlight. Support and Feedback If you encounter any issues or have suggestions for improvement, feel free to contact the developer via the addon page.