Description
For code blocks, we generally follow The Markdown for Confluence app follows Git flavored Markdown syntax for code blocks and convert converts that to Confluence. Fenced code blocks with a specific language will be , are converted to use the Confluence code macro with syntax highlighting (specific to the lang language indicated).
The language indicated may not be enabled /or found for Confluence, in which case, the code default will be is used.
Code blocks, without a language will be , are rendered without modification (no the code macro is not used).
...
Examples
No Format |
---|
```java public void getValue() { return value; } ``` |
...
Code Block |
---|
public void getValue() { return value; } |