Microsoft Teams will enhance code blocks by adding default line numbers, improved keyboard navigation, consistent language selection, and collaborative editing via Loop components. These updates, rolling out April–May 2026, improve accessibility and developer collaboration without requiring admin action.
Introduction
We’re introducing improvements to the code block experience in Microsoft Teams Compose. These updates make reading, sharing, and referencing code more efficient by adding default line numbers and enhancing keyboard navigation. These changes also support better accessibility and help users who frequently share code in chats or channels.
This message is associated with Microsoft 365 Roadmap ID 554933.
When this will happen
How this affects your organization
Who is affected
All users who compose and share messages in Microsoft Teams on Windows, Mac, and Web.
What will happen
Users will see enhancements to the code block experience, including:
These updates improve the development and engineering collaboration experience in Teams and help achieve better parity with other industry-standard collaboration tools.
What you can do to prepare
No admin action is required.
Optional steps:
Learn more: Use code blocks in Microsoft Teams | Microsoft Support
Compliance considerations
No compliance considerations identified. Review as appropriate for your organization.
Introduction
We’re introducing improvements to the code block experience in Microsoft Teams Compose. These updates make reading, sharing, and referencing code more efficient by adding default line numbers and enhancing keyboard navigation. These changes also support better accessibility and help users who frequently share code in chats or channels.
This message is associated with Microsoft 365 Roadmap ID 554933.
When this will happen
How this affects your organization
Who is affected
All users who compose and share messages in Microsoft Teams on Windows, Mac, and Web.
What will happen
Users will see enhancements to the code block experience, including:
These updates improve the development and engineering collaboration experience in Teams and help achieve better parity with other industry-standard collaboration tools.
What you can do to prepare
No admin action is required.
Optional steps:
Learn more: Use code blocks in Microsoft Teams | Microsoft Support
Compliance considerations
No compliance considerations identified. Review as appropriate for your organization.