---
title: "Gant macro"
canonical: "https://support.appfire.com/space/SCRP/73728617/Gant%20macro"
format: markdown
---
> Macro (aura-html)


# Description

> Macro (excerpt)
> 
> Groovy scripting using [Gant](https://github.com/Gant/Gant)

# Parameters

- See [Macro parameters](https://appfire.atlassian.net/wiki/spaces/SCRP/pages/73728435)

## Pre-defined variables

- See [Pre-defined variables](https://appfire.atlassian.net/wiki/spaces/SCRP/pages/73728439)

# Usage

```
{gant}
target(default: "A simple hello target") {
    println("Hello world");
}
{gant}

```

```
{gant:targets=hello}
target(hello: "A simple hello target") {
    println("Hello world");
}
{gant}

```

```
{gant:output=wiki|script=#example.gant|var1=test}
{gant} 

```

# Security

This macro supports [Macro Security for Confluence](https://appfire.atlassian.net/wiki/spaces/CMSP).