---
title: "Sections"
canonical: "https://support.appfire.com/space/SUPPORT/89137425/Sections"
format: markdown
---
> Macro (div)
> 
> ### On this page
> 
> > Macro (toc)

# Overview

This page outlines examples of the [Code Pro macro](https://appfire.atlassian.net/wiki/spaces/CODE/pages/67666007), which is part of the [Code Pro for Confluence](https://appfire.atlassian.net/wiki/spaces/CODE) add-on. This example focuses on using the **sections** parameter to subset the lines displayed.

# Macro Browser Input

### Select this Macro

|  |  |
| --- | --- |
| *Macro Name* | Code Pro |
| *Macro Syntax* | {code-pro} |

### Define these Parameters/Values

|  |  |
| --- | --- |
| Profile | bitbucket |
| Language | Java |
| Show line numbers | selected |
| *URL to source code* | atlassian_tutorial/tutorial-jira-add-workflow-extensions/raw/master/src/main/java/com/example/plugins/tutorial/jira/workflow/CloseIssueWorkflowValidator.java |
| *Section selections* | public |
| *Collapse section type* | expand |

### Screenshot

![image](media://ba278394-85cc-4d76-bf89-1d28fc9ff55d)

# Other Examples

Visit our [full list of product examples](https://appfire.atlassian.net/wiki/spaces/TBL/pages/74815984) for additional inspiration!