Skip to main content

Advanced code blocks in Confluence with Modern Code Blocks

· One min read
NGPILOT

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

  • Confluence Cloud with Modern Code Blocks installed

Embedding large snippets

  • Use collapsible sections for long code
  • Avoid inline images in code blocks

Theme & editor tips

  • Choose appropriate theme for readability
  • Use Monaco's formatting shortcuts to tidy code
  • User guide: /docs/Modern-Code-Blocks-for-Confluence/user-docs