Skip to content

Commit

Permalink
Include firstColumn parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mrueg committed Jul 26, 2024
1 parent a48678f commit fad9866
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ By default, mark provides several built-in templates and macros:

* template: `ac:detailssummary` to show summary information from one page on a another page
* Headings: Column headings to show
* FirstColumn: Name of the Title Column
* CQL: The CQL query to discover the pages
* SortBy: Sort by a specific column heading

Expand Down
1 change: 1 addition & 0 deletions pkg/mark/stdlib/stdlib.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ func templates(api *confluence.API) (*template.Template, error) {
`ac:detailssummary`: text(
`<ac:structured-macro ac:name="detailssummary" ac:schema-version="2">`,
`<ac:parameter ac:name="headings">{{ .Headings }}</ac:parameter>`,
`<ac:parameter ac:name="firstcolumn">{{ .FirstColumn }}</ac:parameter>`,
`<ac:parameter ac:name="sortBy">{{ .SortBy }}</ac:parameter>`,
`<ac:parameter ac:name="cql">{{ .CQL }}</ac:parameter>`,
`</ac:structured-macro>`,
Expand Down

0 comments on commit fad9866

Please sign in to comment.