From 063b6e7e1b0b159978e5c3edf3e125c70df980aa Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 7 Jun 2023 16:04:05 -0700 Subject: [PATCH] page-tree --- pkg/mark/stdlib/stdlib.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkg/mark/stdlib/stdlib.go b/pkg/mark/stdlib/stdlib.go index da90f68..60e22f0 100644 --- a/pkg/mark/stdlib/stdlib.go +++ b/pkg/mark/stdlib/stdlib.go @@ -374,6 +374,24 @@ func templates(api *confluence.API) (*template.Template, error) { ``, ), + /* https://confluence.atlassian.com/conf59/page-tree-macro-792499177.html */ + + `ac:tree`: text( + ``, + ``, + ``, + ``, + ``, + ``, + `{{ or .Sort "" }}`, + `{{ or .Excerpt "" }}`, + `{{ or .Reverse "" }}`, + `{{ or .SearchBox "" }}`, + `{{ or .ExpandCollapseAll "" }}`, + `{{ or .StartDepth "" }}`, + ``, + ), + // TODO(seletskiy): more templates here } { templates, err = templates.New(name).Parse(body)