Skip to content
Confluence, Jira

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.

Users

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

  1. First published Done
  2. Rollout starts Done

What changed

  1. First published by Atlassian

Atlas Bench began tracking Atlassian Cloud on 29 Oct 2026. Changes before that date are not in this history.

Find out what you are actually running.

Fixed scope. The assessment reads the estate as it is: instances, schemes, licensing, and the decisions a migration would force you to make anyway. You get the findings, the ownership gaps, and the order to close them in.