Skip to content

Replace Yomitan inline styles with CSS file #104

Closed
3 of 3 issues completed
Closed

Description

@stephenmk

Yomitan recently added support for external CSS files, so inline styles are no longer necessary. This might greatly reduce the storage space consumed by Jitendex.

See: yomidevs/yomitan#1080

Activity

  1. self-assigned this
    on Sep 16, 2024
  2. stephenmk commented on Oct 20, 2024

    @stephenmk
    MemberAuthor

    At least one roadblock: yomidevs/yomitan#1500

  3. Lanwara commented on Nov 17, 2024

    @Lanwara

    Hey just wondering, if the inline styles disappear will Anki exports still have the required styles? Because I think it's great that this just works out of the box.

    anki_zubS55ZobX

  4. stephenmk commented on Nov 17, 2024

    @stephenmk
    MemberAuthor

    if the inline styles disappear will Anki exports still have the required styles?

    Correct, Anki exports will continue to work correctly by default. If a Yomitan dictionary stores CSS styles in a separate file rather than writing them inline, then Yomitan will embed the entire contents of the CSS file in each Anki flashcard it creates. (These CSS files usually aren't larger than 10KB in size, so the extra storage space required probably isn't a concern).

  5. stephenmk commented on Jan 27, 2025

    @stephenmk
    MemberAuthor

    Bugs are still being discovered and resolved with Yomitan's CSS support. See Yomitan issue 1768 and 1722

  6. stephenmk commented on Aug 1, 2025

    @stephenmk
    MemberAuthor

    Implemented in version 2025.08.01.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions