A private one-on-one chat feature within the GroupMe app that allows users to communicate outside of group conversations.
Hi Sudalai,
Thank you for sharing your question. I understand you pointing out the problem with how code blocks look in Teams. It seems like when you use a light theme, plain text code blocks are hard to read, though they look fine in dark themes. Let's figure out what's going on and how to fix it.
So, you're using the code block option (or those triple backticks in Markdown) and choosing Plain Text, but in the light theme, the text is hard to see because the contrast is low, or things just blend in.
I get why that's frustrating. You just want to share code easily, and it's a pain when teammates using different themes can't read it. I'll help you make those blocks readable for everyone, no matter what theme they're using.
Basically, Teams changed how code snippets work. Now, how the code looks depends on the language selected and the theme you’re using. In light theme, plain text blocks might not have enough contrast. To fix this, use /code or ``` to insert a code block and actually pick a language (even if it’s just Plain Text). Turn on “Wrap text” to avoid weird columns and cut-off text. Or, pick a language like Shell, JavaScript, or JSON so the code is easier to read in both themes. If it’s still hard to see, try switching to high-contrast mode or Follow operating system in your Appearance settings. You could also try clearing the Teams cache, as that sometimes fixes weird theme problems that make text unreadable. One other thing: if your company uses Lists or other formatting options in Teams, don’t set text to be explicitly white in dark mode. Otherwise, people using the light theme might see white text on a white background. Just stick to the default text colors, so Teams can change them automatically for each theme.
I hope this helps.
Best Regards,
Noel