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
Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.