We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8875ec commit 748f417Copy full SHA for 748f417
1 file changed
src/css/custom.css
@@ -113,7 +113,7 @@ html[data-theme="dark"] {
113
}
114
115
body {
116
- font-feature-settings: "kern", "liga", "calt";
+ font-feature-settings: "normal";
117
-webkit-font-smoothing: antialiased;
118
-moz-osx-font-smoothing: grayscale;
119
background-color: #ffffff;
@@ -483,6 +483,16 @@ html[data-theme="dark"] .markdown strong {
483
484
485
/* ===== CODE BLOCKS ===== */
486
+code,
487
+pre,
488
+.markdown code,
489
+.markdown pre code,
490
+code[class*="language-"],
491
+pre[class*="language-"] {
492
+ font-variant-ligatures: none !important;
493
+ font-feature-settings: "liga" 0, "calt" 0 !important;
494
+}
495
+
496
.markdown code {
497
background-color: var(--ifm-code-background);
498
color: var(--ifm-code-color);
0 commit comments