Skip to main content

Advanced Modern Code Blocks Features — Performance Tuning & Tips

· 2 min read

Modern Code Blocks adds a Monaco-powered editor and syntax highlighting for 85+ languages in Confluence. This article explains embedding, theming, and performance tips.

Quick prerequisites

Embedding large snippets

  • Set Max Height to keep long code blocks manageable
  • Avoid inline images in code blocks

Theme & editor tips

  • Choose appropriate theme for readability
  • Use Monaco's formatting shortcuts to tidy code

Try Modern Code Blocks for Confluence

Monaco editor, 85+ languages (JSON, XML, YAML, SQL), 50+ themes, diff view, and auto dark/light mode — free for up to 10 users.

Get it on the Atlassian Marketplace