In MS Teams, it is common to need to share code snippets quickly. Is there a keyboard shortcut that displays the code snippet editor?
2 Answers
Use 3 consecutive backticks ```, on the latest MS Teams versions, seems we need a space after these backticks to make it work like ```
Examples:
``````python
- 12,350
NB! Following information is only to those people in the world, who use keyboard layouts with dead keys. If you don't have such, then don't read and rate this answer and move on.
I was struggling getting the monospace text box in Teams for years and I ended up in this topic and that's why I'm provising the information for similar people. When backtick is a dead key on your keyboard (Finnish/Swedish/Estonian for example), then you need three backticks (shift+tick - tick is between question mark and backspace key) followed by TWO spaces (the big key in the middle of lower row between Alt and AltGr keys). So you basically need 5 keypresses:
- Shift + ´`
- Shift + ´`
- Shift + ´`
- Spacebar
- Spacebar
- 21
