Div |
---|
|
On this page Table of Contents |
---|
maxLevel | 1 |
---|
exclude | On this page |
---|
type | flat |
---|
separator | pipe |
---|
|
|
Overview
This page shows how you can use Augments to add a row number to the data. It can be added in any position.
Macro Browser Input
Select this Macro
Macro Name | CSV (Comma Separated Values) |
Macro Syntax | {csv} |
Define these Parameters/Values
Output format | wiki |
Columns to show | ,Product,Sales |
Augments to data row values | %#% |
Screenshot
Wiki Markup Input
Code Block |
---|
language | text |
---|
linenumbers | true |
---|
|
{csv:columns=,Product, Sales|augments=%#%}
Product, Sales
ABC, 1000
XYZ, 2000
{csv} |
Example Result
Note |
---|
title | Persistent row number |
---|
|
This row number is added to the HTML table produced by the macro just as if it was in the original CSV data. This will show in an exported page. This is different than selecting Auto number each row for the table which is a browser display option only. |
...
Other Examples
Visit our full list of product examples for additional inspiration!