diff --git a/stdlib/stdlib.go b/stdlib/stdlib.go index 57b784d..28eeac8 100644 --- a/stdlib/stdlib.go +++ b/stdlib/stdlib.go @@ -151,7 +151,7 @@ func templates(api *confluence.API) (*template.Template, error) { ``, `{{ .Ticket }}`, `{{ if .Server }}`, - `{{ .Server }}`, + `{{ .Server }}`, `{{ end }}`, ``, ), @@ -451,6 +451,15 @@ func templates(api *confluence.API) (*template.Template, error) { `{{ or .AutoPlay "false"}}`, ``, ), + /* https://confluence.atlassian.com/conf59/view-file-macro-792499226.html */ + `ac:view-file`: text( + ``, + ``, + ``, + ``, + `{{ or .Height 250 }}`, + ``, + ), // TODO(seletskiy): more templates here } {