Confluence 5.3 has reached end of life
Check out the [latest version] of the documentation
This page is a snippet
For full information, see:
Snippet
Macro name: code
Macro body: Accepts plain text.
| Parameter name | Required | Default | Parameter description and accepted values |
|---|---|---|---|
title | No | (None) | Adds a title to the code macro box. |
theme | No | Confluence | Specifies the colour scheme used for displaying your code. Many of these themes are based on the default colour schemes of popular integrated development environments (IDEs). The default theme is Available themes:
|
linenumbers | No | false | If If |
language | No | java | Specifies the language (or environment) for syntax highlighting.
|
firstline | No | 1 | When linenumbers is true, this value defines the number of the first line of code. |
collapse | No | false | If If |
