CSS classes around fields

AnkiWeb addon 631147309

Modifies selected notes' card types to wrap each field in CSS classes, with a menu option to remove those styles.
AI-generated summary; may contain mistakes.

formattingcard-templates

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
1 (👍 1 · 👎 0)
Updated
2018-11-27
Anki versions
unknown
Description language
en

Maintenance

abandoned

  • Last update or commit was 2251 days before the snapshot (2020-08-02).

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.0–2018-11-27
History across monthly snapshots

Loading…

Similar addons

Export Anki cards as picture

Exports Anki cards as images using customizable Jinja2 HTML templates and CSS, with options for resolution, cloze replacement, excluded fields, per-note templates, and ImageMagick auto-cropping.

exportcard-templates

Rating 1 👍 0 · 👎 1 ⭐ 0 Anki 24.06.2~ Updated 2024-06-18

README

CSS style around fields

Rationale

I'd love to be able to have css applied to the content of fields. This add-on modify card's type to ensure that it is the case. I may also want to remove those fields because this impair readability. So this add-on also also allow to remove those CSS style.

Usage

In the browser, select at least a note of each type you want to modify. Do "Edit>Style around fields" to add the CSS fields, and "Edit>Remove style around style" to remove them.

TODO

It would be nice to edit the card type directly from the card type editor. I don't know how to do it. I don't know how to add button there.

Links, licence and credits

Key Value
Copyright Arthur Milchior arthur@milchior.fr
Based on Anki code by Damien Elmes anki@ichi2.net
License GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
Source in https://github.com/Arthur-Milchior/anki-style-around-fields
Addon number 631147309