How to use code blocks in the macros
Description
The Markdown for Confluence app follows Git flavored Markdown syntax for code blocks and converts that to Confluence. Fenced code blocks with a specific language, are converted to use the Confluence code macro with syntax highlighting (specific to the language indicated).
The language indicated may not be enabled or found for Confluence, in which case, the code default is used. Code blocks, without a language, are rendered without modification (the code macro is not used).
Examples
```java
public void getValue() {
return value;
}
```
public void getValue() {
return value;
}Links
Need support? Create a request with our support team.
