Sections

On this page

Overview

This page outlines examples of the Code Pro macro, which is part of the Code Pro for Confluence add-on. This example focuses on using the sections parameter to subset the lines displayed.

Macro Browser Input

Select this Macro

Macro NameCode Pro
Macro Syntax{code-pro}

Define these Parameters/Values

Profilebitbucket
LanguageJava
Show line numbersselected
URL to source codeatlassian_tutorial/tutorial-jira-add-workflow-extensions/raw/master/src/main/java/com/example/plugins/tutorial/jira/workflow/CloseIssueWorkflowValidator.java
Section selectionspublic
Collapse section typeexpand

Screenshot

Other Examples

Visit our full list of product examples for additional inspiration!