Style CSV macro output - 8.x

On this page

Overview

This page outlines an example demonstrating how to use the CSV Table macro, which is part of the Advanced Tables for Confluence app, to transform CSV data into an attractive Wiki table.

Macro browser input

Select this macro

Macro nameAdvanced Tables - CSV Table
Macro syntax{csv}

Define these parameters/values

CSV Table settings > Data format > Column delimiterwhitespace
CSV Table settings > Data settings > Output formatwiki
Table settings > Formatting > Table width 400px
Table settings > Formatting > Table border width 15
Row formatting > Header & footer rows > Number of header rows 1
Row formatting > Header & footer rows > Number of footer rows0

Screenshot

Wiki markup input

{csv:output=wiki|width=400px|border=15|delimiter=whitespace}
Month Max Min Average
January 25.5 *6.3* 15.9
February 32.4 12.8 22.6
March 44.6 24.5 34.6
April 59.7 37.1 48.4
May 72.5 48.7 60.6
June 81.3 57.9 69.6
July 85.2 62.8 74
August 82.5 60.7 71.6
September 73.7 51.7 62.7
October 61.1 40.1 50.6
November 43.6 27.4 35.5
December 29.9 13.6 21.8
{csv}

Example result

Other examples

Visit our full list of product examples for additional inspiration!