mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-23 05:12:41 +08:00
Merge pull request #93 from Taldrain/update-panel-format
update the panel format
This commit is contained in:
commit
b68abf9c0f
@ -149,10 +149,8 @@ func templates(api *confluence.API) (*template.Template, error) {
|
||||
`ac:box`: text(
|
||||
`<ac:structured-macro ac:name="{{ .Name }}">{{printf "\n"}}`,
|
||||
`<ac:parameter ac:name="icon">{{ or .Icon "false" }}</ac:parameter>{{printf "\n"}}`,
|
||||
`<ac:parameter ac:name="title">{{ or .Title "" }}</ac:parameter>{{printf "\n"}}`,
|
||||
`<ac:rich-text-body>{{printf "\n"}}`,
|
||||
`{{ .Body }}{{printf "\n"}}`,
|
||||
`</ac:rich-text-body>{{printf "\n"}}`,
|
||||
`{{ if .Title }}<ac:parameter ac:name="title">{{ .Title }}</ac:parameter>{{printf "\n"}}{{ end }}`,
|
||||
`<ac:rich-text-body>{{ .Body }}</ac:rich-text-body>{{printf "\n"}}`,
|
||||
`</ac:structured-macro>{{printf "\n"}}`,
|
||||
),
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user