Added support for v2 Confluence page format (#29)

* Added support for v2 pge format

* Added toc macro

* Added toc to documentation

Co-authored-by: Stefano Teodorani <teopost@sviluppo06.apex-net.it>
This commit is contained in:
Stefano Teodorani
2020-10-19 16:46:52 +02:00
committed by GitHub
parent e26903dcee
commit eda2e4704d
3 changed files with 27 additions and 1 deletions

View File

@@ -385,6 +385,13 @@ func (api *API) CreatePage(
"value": body,
},
},
"metadata": map[string]interface{}{
"properties": map[string]interface{}{
"editor": map[string]interface{}{
"value": "v2",
},
},
},
}
if parent != nil {