Skip to main content
🦉
Message CenterMicrosoft 365 Updates
HomePermissionsTenant FinderPortfolio
🦉
M365 Message Centerby Cengiz YILMAZ

Track the latest updates, features, and announcements for Microsoft 365 services. Comprehensive archive of service updates and important changes.

Quick Links

HomePermissionsTenant FinderPortfolio

Connect

© 2026 M365 Message Center. Created with ❤ by Cengiz YILMAZ

Data sourced from Microsoft 365 Message Center • Not affiliated with Microsoft

  1. Home
  2. /
  3. MC1240703

Microsoft Teams: Code block line numbers and improved keyboard accessibility

Informational

Message ID

MC1240703
View in Admin Center

Roadmap ID

554933
View in Roadmap

Services

Microsoft Teams

Affected Platforms

DesktopMac

Summary

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.

Details

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

  • Targeted Release: Rolling out in April 2026 and expected to complete in April 2026.
  • General Availability (Worldwide): Rolling out in April 2026 and expected to complete in May 2026.

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:

  • Default line numbers appearing automatically when a code block is inserted, supporting easier line-by-line collaboration and review.
  • Improved keyboard navigation within code blocks, allowing users to move more easily through code using keyboard commands, improving overall accessibility.
  • Consistent language selection for syntax highlighting; Teams will remember the last language a user selected.
  • Support for collaborative editing, with the option to convert a code block to a Loop component before sending.
  • Multiple insertion methods remain supported (slash commands, keyboard shortcuts, and Markdown), ensuring familiarity and flexibility for users.
  • This feature is enabled by default, and no admin controls or configuration changes are required.

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:

  • Inform helpdesk or support teams that users may notice changes to how code blocks appear and behave in Teams.
  • Update any internal documentation for engineering teams or developer communities that rely on code sharing within Teams.
  • Review Microsoft Support documentation for additional user-facing guidance about inserting, formatting, and collaborating on code blocks in Teams.

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

  • Targeted Release: Rolling out in April 2026 and expected to complete in April 2026.
  • General Availability (Worldwide): Rolling out in April 2026 and expected to complete in May 2026.

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:

  • Default line numbers appearing automatically when a code block is inserted, supporting easier line-by-line collaboration and review.
  • Improved keyboard navigation within code blocks, allowing users to move more easily through code using keyboard commands, improving overall accessibility.
  • Consistent language selection for syntax highlighting; Teams will remember the last language a user selected.
  • Support for collaborative editing, with the option to convert a code block to a Loop component before sending.
  • Multiple insertion methods remain supported (slash commands, keyboard shortcuts, and Markdown), ensuring familiarity and flexibility for users.
  • This feature is enabled by default, and no admin controls or configuration changes are required.

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:

  • Inform helpdesk or support teams that users may notice changes to how code blocks appear and behave in Teams.
  • Update any internal documentation for engineering teams or developer communities that rely on code sharing within Teams.
  • Review Microsoft Support documentation for additional user-facing guidance about inserting, formatting, and collaborating on code blocks in Teams.

Learn more:  Use code blocks in Microsoft Teams | Microsoft Support

Compliance considerations

No compliance considerations identified. Review as appropriate for your organization.

Timeline

Published
Feb 27, 2026
Message published to Message Center
Updated
Feb 27, 2026
Message content updated
End Date
Jun 30, 2026
Message timeline ends

Tags

#Feature update#User impact#Admin impact

Category

Stay Informed

Related Messages

Similar updates

MC1243546

Microsoft Teams: Channel Agent feature updates

Mar 4, 2026
MC1235124

Microsoft Teams: Upcoming changes to Microsoft Places licensing and feature access

Feb 20, 2026
MC1234574

Microsoft Teams: New controls for quick views in the chat list

Feb 18, 2026
MC1226221

People Skills on the profile card expanding to Microsoft Teams

Feb 2, 2026
MC1200581

Teams admin center: Auto‑updates for Teams Android device firmware and apps will be paused during year‑end holidays

Dec 19, 2025