Skip to content

schulle4u/yellow-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deutsch   English

Table 0.9.1

Create tables from CSV data.

Screenshot

How to install an extension

Download ZIP file and copy it into your system/extensions folder. Learn more about extensions.

How to display a table file

Create a [table] shortcut.

The following arguments are available, all but the first argument are optional:

FileName = name of the csv table file
RowsPerPage = Number of rows for pagination, a value greater than 0 enables the function
Class = HTML table class

This extension loads a table file in CSV format and outputs a HTML table. For large tables you can enable row filtering, column sorting, and pagination functions. You can also load table data as code block in Markdown. If you need even more functionality, here is another extension under the same name, developed by Giovanni Salmeri.

Examples

Basic usage:

[table tapes.csv]

Use custom class:

[table tapes.csv - MyTapes]

Use a Markdown code block to display table data:

```table
Code,English Name,French Name
AD,Andorra,Andorre
AE,United Arab Emirates,Emirats arabes unis
AF,Afghanistan,Afghanistan
AG,Antigua and Barbuda,Antigua-et-Barbuda
AI,Anguilla,Anguilla
AL,Albania,Albanie
```

Settings

The following settings can be configured in file system/extensions/yellow-system.ini:

TableDirectory = directory for table files
TableDelimiter = column delimiter, auto for automatic detection
TableFirstRowHeader = use first line of table file as table header, 1 or 0
TableFunctions = Enable row filtering, column sorting and pagination functions, 1 or 0
TableRowsPerPage = Number of rows for pagination, a value greater than 0 enables the function

Developer

Steffen Schultz. Get help.