---
layout: page
title: "Add Heading"
node_type: "lib.docx.AddHeading"
namespace: "lib.docx"
---

**Type:** `lib.docx.AddHeading`

**Namespace:** `lib.docx`

## Description

Adds a heading to the document
    document, docx, heading, format

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| document | `document` | The document to add the heading to | `{"type":"document","uri":"","asset_id":null,"da...` |
| text | `str` | The heading text | `` |
| level | `int` | Heading level (1-9) | `1` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `document` |  |

## Related Nodes

Browse other nodes in the [lib.docx](../) namespace.
