{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreie4qgrm4i7xcigp6qh5v3enuoxxknip4onm5fovk2mttf5ye3xuiq",
    "uri": "at://did:plc:xxrzfynfiasdpbxteqxi4jgq/app.bsky.feed.post/3mfuzknh22zx2"
  },
  "description": "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...",
  "path": "/m365-message-center/message/mc1240703/",
  "publishedAt": "2026-02-28T01:00:16.000Z",
  "site": "https://blog.tophhie.cloud",
  "tags": [
    "554933",
    "Use code blocks in Microsoft Teams | Microsoft Support"
  ],
  "textContent": "**[Introduction]**\n\nWe’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.\n\nThis message is associated with Microsoft 365 Roadmap ID 554933.\n\n**[When this will happen]**\n\n  * **Targeted Release** : Rolling out in **April 2026** and expected to complete in **April 2026**.\n  * **General Availability (Worldwide)** : Rolling out in **April 2026** and expected to complete in **May 2026**.\n\n\n\n**[How this affects your organization]**\n\n_Who is affected_\n\nAll users who compose and share messages in _Microsoft Teams_ on Windows, Mac, and Web.\n\n_What will happen_\n\nUsers will see enhancements to the code block experience, including:\n\n  * **Default line numbers** appearing automatically when a code block is inserted, supporting easier line-by-line collaboration and review.\n  * **Improved keyboard navigation** within code blocks, allowing users to move more easily through code using keyboard commands, improving overall accessibility.\n  * **Consistent language selection** for syntax highlighting; Teams will remember the last language a user selected.\n  * **Support for collaborative editing** , with the option to convert a code block to a Loop component before sending.\n  * **Multiple insertion methods remain supported** (slash commands, keyboard shortcuts, and Markdown), ensuring familiarity and flexibility for users.\n  * **This feature is enabled by default** , and no admin controls or configuration changes are required.\n\n\n\nThese updates improve the development and engineering collaboration experience in _Teams_ and help achieve better parity with other industry-standard collaboration tools.\n\n**[What you can do to prepare]**\n\nNo admin action is required.\n\nOptional steps:\n\n  * Inform helpdesk or support teams that users may notice changes to how code blocks appear and behave in _Teams_.\n  * Update any internal documentation for engineering teams or developer communities that rely on code sharing within _Teams_.\n  * Review Microsoft Support documentation for additional user-facing guidance about inserting, formatting, and collaborating on code blocks in _Teams_.\n\n\n\nLearn more: Use code blocks in Microsoft Teams | Microsoft Support\n\n**[Compliance considerations]**\n\nNo compliance considerations identified. Review as appropriate for your organization.\n\n**[Introduction]**\n\nWe’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.\n\nThis message is associated with Microsoft 365 Roadmap ID 554933.\n\n**[When this will happen]**\n\n  * **Targeted Release** : Rolling out in **April 2026** and expected to complete in **April 2026**.\n  * **General Availability (Worldwide)** : Rolling out in **April 2026** and expected to complete in **May 2026**.\n\n\n\n**[How this affects your organization]**\n\n_Who is affected_\n\nAll users who compose and share messages in _Microsoft Teams_ on Windows, Mac, and Web.\n\n_What will happen_\n\nUsers will see enhancements to the code block experience, including:\n\n  * **Default line numbers** appearing automatically when a code block is inserted, supporting easier line-by-line collaboration and review.\n  * **Improved keyboard navigation** within code blocks, allowing users to move more easily through code using keyboard commands, improving overall accessibility.\n  * **Consistent language selection** for syntax highlighting; Teams will remember the last language a user selected.\n  * **Support for collaborative editing** , with the option to convert a code block to a Loop component before sending.\n  * **Multiple insertion methods remain supported** (slash commands, keyboard shortcuts, and Markdown), ensuring familiarity and flexibility for users.\n  * **This feature is enabled by default** , and no admin controls or configuration changes are required.\n\n\n\nThese updates improve the development and engineering collaboration experience in _Teams_ and help achieve better parity with other industry-standard collaboration tools.\n\n**[What you can do to prepare]**\n\nNo admin action is required.\n\nOptional steps:\n\n  * Inform helpdesk or support teams that users may notice changes to how code blocks appear and behave in _Teams_.\n  * Update any internal documentation for engineering teams or developer communities that rely on code sharing within _Teams_.\n  * Review Microsoft Support documentation for additional user-facing guidance about inserting, formatting, and collaborating on code blocks in _Teams_.\n\n\n\nLearn more: Use code blocks in Microsoft Teams | Microsoft Support\n\n**[Compliance considerations]**\n\nNo compliance considerations identified. Review as appropriate for your organization.",
  "title": "MC1240703: Microsoft Teams: Code block line numbers and improved keyboard accessibility",
  "updatedAt": "2026-02-28T01:00:17.202Z"
}