Codeblock text seems smaller

AI-generated summary

The discussion is about the font size of text in codeblocks, with NateDhaliwal (#1) noting that it appears smaller than usual, particularly in multiline codeblocks. Heliosurge (#2) shares a link to a meta discussion about improved code block font sizing. NateDhaliwal (#3) further emphasizes the issue, providing examples of preformatted code sizes and comparing them to regular text.

CocoQuark (#4) questions the validity of a screenshot provided by NateDhaliwal (#1) and references a GitHub commit related to code highlighting. NateDhaliwal (#5) responds that the issue seems to occur on mobile, not desktop. However, CocoQuark (#6) finds that the font size is the same on both mobile and desktop.

Finally, NateDhaliwal (#7) comments on the rounded appearance of codeblocks and shares an image of an unrelated error message.

The text in codeblocks seem small er than usual. For multiline codeblocks, the line spacing between lines also seem less.
Was something changed?
For example:

Recent update will see if can find link — found it in Daily Summary

5 Likes

Why do preformatted code sizes seem even smaller
Now: Preformatted text

Code here

Miniscule!

This screenshot doesn’t give any information on the font-size compared to other texts.

Are you sure?

The code highlight file hasn’t changed since the last improvement linked by Dan:

That was an old screenshot, and is cropped.

Actually, it seems to be on mobile, not desktop.

I looked at the font-size on both mobile and desktop, and they have the same value (.875em) :slight_smile:

Huh, that’s odd. Now the codeblocks are much more rounded too!