Getting started with code block
Install the macro Code block with tabs for confluence
Add the macro Code block with tabs for confluence on a page
Press save
A simple boilerplate is created for you to get started.
Good to know
If you only have code in one tab the tabs wont be visibel
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro '
jquery(".wiki-content a").attr("target", "_blank");
' is unknown.