Skip to:

Marketplace

Modern Code Blocks for Confluence

works with Confluence Cloud

OVERALL RATINGS

INSTALLS

1

SUPPORT

  • Partner Supported

TRUST SIGNALS

Showing details for Cloud

Key highlights of the appSyntax-highlighted code blocks with 85+ languages, auto theme sync, and a live preview editor for Confluence pages

85+ Languages Supported

Choose from over 85 programming and markup languages for accurate syntax highlighting, including Python, TypeScript, Go, Rust, Java, SQL, YAML, and many more. Every language gets proper tokenization and color coding.

Live Preview Editor

Configure your code block in a full Monaco editor with real-time preview. Adjust language, theme, font size, line numbers, word wrap, and minimap visibility, seeing changes instantly before saving to the page.

Automatic Theme Sync

Code blocks automatically match your Confluence color mode. Switch between light, dark, and high-contrast themes and your code renders with the appropriate colors, no manual updates needed.

More details

Modern Code Blocks replaces Confluence's built-in code macro with a modern editor experience. Insert code in any of 85+ languages and customize the display with syntax highlighting, line numbers, word wrap, font size, and an optional minimap. The configuration panel includes a live Monaco editor preview so you see exactly how your code will look before saving.

Theme support goes beyond a simple toggle. When set to Auto, code blocks follow your Confluence color mode in real time, switching between light, dark, and high-contrast themes as you change your preferences. Manual theme overrides are also available for pages that need a consistent look regardless of reader settings.

This app is ideal for engineering teams, technical writers, and anyone who regularly shares code snippets on Confluence and wants a polished, readable presentation without extra formatting effort.

Resources

  • App documentation

    Comprehensive set of documentation from the partner on how this app works

Privacy and Security

Privacy policy

Atlassian's privacy policy is not applicable to the use of this app. Please refer to the privacy policy provided by this app's partner.

Partner privacy policy

Security program

This app is not part of the Marketplace Bug Bounty program.

Version information

Version 2.0.0for Confluence Cloud

Release date
Apr 18th 2026
Summary
Monaco-powered code blocks with 85+ languages, auto theme sync and live preview
Details

Modern Code Blocks replaces Confluence's built-in code macro with a modern, Monaco-powered editing experience.

Features:

  • Monaco Editor for VS Code-quality syntax highlighting in both the config panel and page rendering
  • 85+ languages including Python, TypeScript, Go, Rust, Java, SQL, YAML, FreeMarker, and more
  • Auto theme sync — code blocks match Confluence color mode (light, dark, high-contrast) in real time
  • Config panel with live preview, language, theme, font size, line numbers, word wrap, and minimap
  • Monospace font stack with ligatures (JetBrains Mono, Fira Code, Source Code Pro)
Payment model
Paid via Atlassian
License type
Commercial

Learn and explore

  • What’s Marketplace
  • App installation
  • About Atlassian
  • Atlassian resources
  • Search and ranking
  • Atlassian events
  • Atlassian foundation

Follow