mirror of
https://github.com/kovetskiy/mark.git
synced 2026-04-23 23:52:34 +00:00
Add Page properties macro
This commit is contained in:
@@ -357,6 +357,14 @@ func templates(api *confluence.API) (*template.Template, error) {
|
||||
`</ac:structured-macro>`,
|
||||
),
|
||||
|
||||
/* https://confluence.atlassian.com/conf59/page-properties-macro-792499154.html */
|
||||
|
||||
`ac:details`: text(
|
||||
`<ac:structured-macro ac:name="details" ac:schema-version="1"">`,
|
||||
`<ac:rich-text-body>{{ .Body }}</ac:rich-text-body>`,
|
||||
`</ac:structured-macro>`,
|
||||
),
|
||||
|
||||
// TODO(seletskiy): more templates here
|
||||
} {
|
||||
templates, err = templates.New(name).Parse(body)
|
||||
|
||||
Reference in New Issue
Block a user