MC1223820 High
Microsoft Teams: View code blocks on mobile
Summary AI-generated
Teams mobile apps will soon display code blocks with syntax highlighting and line numbers for easier reading; rollout starts early February 2026 and requires no admin action.
Suggested actions AI-generated
- Inform developer/technical users
- Update documentation if needed
Written by Azure OpenAI (gpt-4.1) from the text of the post below. It can be incomplete or wrong; the original post is authoritative.
Similar posts
Search for more like this- MC1240703 (Updated) Microsoft Teams: Code block line numbers and improved keyboard accessibility
- MC1472029 Code Blocks in M365 Copilot
- MC1462470 Microsoft Teams: Clearer text highlighting in dark mode and high contrast mode
- MC1423113 Create, view, and edit Markdown files in OneDrive mobile
- MC1467357 Microsoft Teams: Updated header and dashboard for chats and channels on mobile
- MC1404321 (Updated) Microsoft Teams: Emoji shortcuts expand to iOS and Android
Original post from Microsoft
[Introduction]
We’re introducing improved support for viewing code blocks in the Microsoft Teams mobile app for iOS and Android. This update responds to customer feedback from technical and developer-focused teams who rely on accurate, readable code formatting when collaborating on the go.
[When this will happen]
- Public Preview: We will begin rolling out in early February 2026 and expect to complete by mid-February 2026.
- General Availability (Worldwide): We will begin rolling out in mid-February 2026 and expect to complete by late February 2026.
[How this will affect your organization]
Who is affected: All users of the Microsoft Teams mobile app on iOS and Android.
What will happen:
- Users will be able to view code blocks sent from Teams desktop or web clients directly on mobile devices.
- Code blocks will appear as a message object (similar to a file preview) optimized for small screens:

- Tapping the preview will open a full-screen reader that includes:
- Syntax highlighting
- Line numbers
- Scrollable containers for long snippets
- No admin controls are added with this update.
- This feature is enabled by default and requires no configuration.
- There is no impact to existing messaging workflows or policies.
[What you can do to prepare]
- No admin action is required. The feature will roll out automatically.
- Optional actions:
- Notify developer or technical user groups who may benefit from this improvement.
- Update internal documentation if you maintain guidance on using code blocks in Teams.
- Review Microsoft Teams documentation for more about code block formatting.
[Compliance considerations]
No compliance considerations identified. Review as appropriate for your organization.
Additional details from Microsoft
- Summary
- Microsoft Teams mobile app will support improved viewing of code blocks with syntax highlighting, line numbers, and scrollable containers starting February 2026. This feature is enabled by default, requires no admin action, and allows users to view code blocks sent from desktop or web clients on iOS and Android devices.