---
title: "renderWiki"
canonical: "https://support.appfire.com/space/PSJ/15480663/renderWiki"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | renderWiki(wiki) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns the html code for the wiki text.

Returns the html code for the wiki text.

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| wiki | String | Yes | Wiki text to be rendered into HTML. |

## Return Type

**String**

The return value represents the html code of the wiki text.

## Example

```
return renderWiki("h1. Biggest heading");
```

Result: <h1><a name="Biggestheading"></a>Biggest heading</h1>

## See also

> Macro (contentbylabel)