> For the complete documentation index, see [llms.txt](https://documentation.connexica.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.connexica.com/legacy-wiki/tree-macro.md).

# Tree Macro

## Static tree

* [Chapter 1](broken://pages/6b9143056970648e47a84b6f141451be2bb24367)
  * Section 2.1
  * Section 2.2
    * Paragraph 2.2.1
      * Once upon a time...
    * Paragraph 2.2.2
* [Chapter 2](broken://pages/5b7b7d38a8c74fe8a63f6e418fb7188eb2af7844)
* [Chapter 3](http://www.xwiki.org/)
  * Section 3.1
    * Paragraph 3.1.1
  * Section 3.2

### Static tree with opened path

* [One](broken://pages/d8f68b180cefecb6d5483a63b5ab7a72bd7ef581)
  * [Two](http://www.xwiki.org/)
    * [Three](#section)

### Static tree with custom icons

* Users
  * Alice
  * [Bob](http://jstree.com/tree.png)
  * Carol

## Dynamic Tree

`{{tree reference="XWiki.DocumentTree" /}}`

### Dynamic Sub-tree with Checkboxes

`{{tree reference="doc:XWiki.DocumentTree" root="document:xwiki:Sandbox.WebHome" checkboxes="true" /}}`
