Code blocks: Enhanced formatting and language detection
Code blocks in Jira and Confluence get automatic language detection, a recently used language list, one-click formatting, saved wrap and line number settings, and border selection. It has been rolling out to Atlassian Cloud sites since 25 Jun 2026.
- Rolling out since 25 Jun 2026
- Medium impact
What it is
Improvement
New code blocks can detect their language once enough code is entered. The floating toolbar adds controls to format code and to turn line wrapping and line numbers on or off. Those wrap and line number choices are saved with the page, so viewers see the same state.
People editing code blocks see detected languages, up to three recently used languages in the picker, a Format code option for JSON, JavaScript, JSX and SQL, and can click the block border to select the whole block.
Written from Atlassian's release note and checked against it automatically. Atlassian's original stays the source of truth.
Where the rollout is
- First published Done
- Rollout starts Done
What changed
- First published by Atlassian
Atlas Bench began tracking Atlassian Cloud on 29 Oct 2026. Changes before that date are not in this history.