When copying code into Teams it's great that the language syntax is highlighted however.... it's super hard to read when the indentations are stripped out.
Can you retain code indentations so that I don't have to use print-screen to share code?
Terry Wrennall commented
this is what code blocks are for
Insert the code block then paste you text although code blocks are bloody slow to get to
click formating > click the 3 dots > click code block > paste your text > select code type > hit send
Gordon Tyler commented
When I copied from VSCode into Notepad and then from Notepad into Teams, I found that it preserved the indentation.