Skip to content

Commit

Permalink
add support to column macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Paiva authored and mrueg committed Jan 26, 2024
1 parent a04f411 commit 8dd83bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/mark/stdlib/stdlib.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,13 @@ func templates(api *confluence.API) (*template.Template, error) {
`<ac:parameter ac:name="theme">{{ or .Theme "" }}</ac:parameter>`,
`</ac:structured-macro>`,
),
/* https://confluence.atlassian.com/conf59/column-macro-792499085.html */
`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:structured-macro>`,
),

// TODO(seletskiy): more templates here
} {
Expand Down

0 comments on commit 8dd83bd

Please sign in to comment.