feat: add support for '--image-align'

This commit is contained in:
Johan Fagerberg
2026-02-18 09:15:51 +01:00
committed by Manuel Rüger
parent 875723da90
commit c32cd79dc8
8 changed files with 62 additions and 2 deletions

View File

@@ -211,6 +211,7 @@ func templates(api *confluence.API) (*template.Template, error) {
`ac:image`: text(
`<ac:image`,
`{{ if .Align }} ac:align="{{ .Align }}"{{ end }}`,
`{{ if .Width }} ac:width="{{ .Width }}"{{ end }}`,
`{{ if .Height }} ac:height="{{ .Height }}"{{ end }}`,
`{{ if .Title }} ac:title="{{ .Title }}"{{ end }}`,