How to use the Sections parameter of the Code Pro macro

On this page

Overview

This example focuses on using the Sections parameter of the Code Pro macro 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