Request: disable ligatures on code samples

Request: disable ligatures on code samples
0

#1

I’ve been going through the Javascript parts and I’m noticing fi-ligatures a lot. While this sort of thing makes normal text better-looking, it’s jarring for monospace text. A sample:

filter

This seems to be enabled through something like:

body { font-feature-settings: "kern","liga","clig","calt","kern"; }

Sensible enough, but it’s also being applied to text that’s supposed to be code. Would you consider adding

font-feature-settings: "liga" 0;

to selectors like

code, kbd, pre, samp

and

.challenge-instructions blockquote

?

Thanks!


#2

It looks like you’ve put some effort into researching this. Would you mind creating a GitHub Issue for it?