Quick summary
The Confluence Code Snippet macro lets you insert and display formatted code with syntax highlighting directly inside any Confluence page. Trigger it with a simple /code slash command, paste your code, and publish the page in seconds.
Steps
- Type /code in the Confluence page editor to open the Code Snippet macro and display code with syntax highlighting.
- Paste or type your code into the input box that appears inside the macro.
- Click Publish or Update to save the page with your embedded code snippet.
.gif)



