Explains the differences between and commonalities of the Confluence Code Block Macro and the projectdoc Toolbox Code Block Placeholder Macro.

This is a comparison between the Code Block Macro provided by Confluence and the Code Block Placeholder Macro that is part of the projectdoc Toolbox.

We refer to Confluence 5.9 and the projectdoc Toolbox 1.10 for our discussion.

Summary

The Code Block Macro is a great tool to render visually appealing code on a page.

The Code Block Placeholder Macro adds features to use placeholders within the code to be replaced with document and space properties.

The following table lists features that are related to one of the macros discussed, but are implemented by different macros. In this case the macro providing the feature is listed. No extra cost is involved to use the mentioned macros, since all these macros are either part of Confluence or the projectdoc Toolbox Add-on.

FeatureCode Block MacroCode Block Placeholder Macro
Renders Highlighted Code
YES
YES
Replacements with Document Properties
NO
YES
Replacements with Space Properties
NO
Cost
FREE
No Extra Installation required
YES
NO
VendorAtlassiansmartics

Examination in Detail

Compare the features of the macros: have screenshots showing the macros in action!

 

Detailed examination on the features
Click for a detailed examination on the features