Skip to content

Commit 5e869d9

Browse files
authored
Disable ligatures to fix syntax highlighting (#42)
1 parent e45c286 commit 5e869d9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tailwind.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import plugin from "npm:[email protected]/plugin.js";
12
import type { Config } from "npm:[email protected]";
23

34
export default {
@@ -14,4 +15,14 @@ export default {
1415
},
1516
},
1617
},
18+
19+
plugins: [
20+
plugin((p) => {
21+
p.addUtilities({
22+
'.font-mono': {
23+
fontVariantLigatures: 'none',
24+
},
25+
})
26+
}),
27+
],
1728
} satisfies Config;

0 commit comments

Comments
 (0)