anki-prettify
anki-prettify copied to clipboard
Bold italic color doesn't work properly when the text is wrapped by <strong> and <em> instead of <b> and <i>
The styling template in Nord doesn't color correctly with characters wrapped by <em>
and <strong>
, since the code only includes <b>
, <i>
as written below.
b > i,
i > b {
color: var(--bold-italic-fg);
}
To make it compatible with text that utilizes <em>
and <strong>
, I've changed it to this, and it works fine now:
b > i,
i > b,
strong > i,
i > strong,
em > b,
b > em,
strong > em,
em > strong {
color: var(--bold-italic-fg);
}
It'd be fantastic if it could be fixed in the release.