/
How to use Code Blocks
How to use Code Blocks
Description
For code blocks, we generally follow Git flavored Markdown syntax and convert that to Confluence.
Fenced code blocks with a specific language will be converted to use the Confluence code macro with syntax highlighting specific to the lang indicated. The language indicated may not be enabled/found for Confluence, in which case, the code default will be used.
Code blocks without a language will be rendered without modification (no code macro).
Links
Examples
```java public void getValue() { return value; } ```
public void getValue() { return value; }
, multiple selections available,
Related content
How to use code blocks
How to use code blocks
More like this
How to use code blocks in the macros
How to use code blocks in the macros
More like this
How to render Latex code with HTML in a Confluence page
How to render Latex code with HTML in a Confluence page
More like this
Macros overview - Cloud
Macros overview - Cloud
More like this
Markdown Extensions for Confluence
Markdown Extensions for Confluence
More like this
Release notes 3.4
Release notes 3.4
More like this