fix(theme): correct mixed LTR/RTL text rendering in code blocks

pull/5169/head
Divyansh Singh 5 months ago committed by GitHub
parent 202ee70260
commit 73f7b0b984
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -9,3 +9,7 @@ html:not(.dark) .shiki span {
text-decoration: var(--shiki-light-text-decoration, inherit); text-decoration: var(--shiki-light-text-decoration, inherit);
font-weight: var(--shiki-light-font-weight, inherit); font-weight: var(--shiki-light-font-weight, inherit);
} }
.shiki span {
unicode-bidi: isolate;
}

Loading…
Cancel
Save