Document column macro

This commit is contained in:
Manuel Rüger
2024-01-26 16:15:06 +01:00
parent 8dd83bdf62
commit 78f7666697
2 changed files with 7 additions and 3 deletions

View File

@@ -336,7 +336,7 @@ func templates(api *confluence.API) (*template.Template, error) {
/* https://confluence.atlassian.com/conf59/user-profile-macro-792499223.html */
`ac:profile`: text(
`{{ with .Name | user }}`,
`{{ with .Name | user }}`,
`<ac:structured-macro ac:name="profile">`,
`<ac:parameter ac:name="user">`,
`{{ if .AccountID }}`,
@@ -431,7 +431,7 @@ func templates(api *confluence.API) (*template.Template, error) {
`ac:column`: text(
`<ac:structured-macro ac:name="column">`,
`<ac:parameter ac:name="width">{{ or .Width "" }}</ac:parameter>`,
`<ac:rich-text-body>{{ or .Body "" }}</ac:rich-text-body>`,
`<ac:rich-text-body>{{ or .Body "" }}</ac:rich-text-body>`,
`</ac:structured-macro>`,
),