3 ms·
Ligature font in the examples. Please don’t. I had to copy-paste one of them somewhere else to figure out what it actually is.
by wharvle 3y ago
Ligature font in the examples. Please don’t. I had to copy-paste one of them somewhere else to figure out what it actually is.
- deleted 3y ago[deleted]
- frfl 3y agoThat's a valid criticism. I was 100% sure there was a "play" button for some reason on the second line of the "factorial :: (n: i32) -> i32 {" example. Only now do I realize it's not a play button |> iter.fold(1, (x, y) => x * y); Let's not. Let's keep things clear for the reader.
- wharvle 3y agoSame one that tripped me up. I looked at it a while thinking it was some outside-the-code commentary thing pointing out the line to me, and I couldn’t figure out why. Wasn’t until I spotted the more-familiar-to-me => ligature elsewhere that I realized what was going on. And even then I wasn’t sure what you type to get a triangle (obvious in hindsight, but not at the time)
- fkyoureadthedoc 3y agoI don't see any, but maybe they recently changed it I do see font-variant-ligatures: none !important; on the code blocks