Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 571 Bytes

csv-short.md

File metadata and controls

23 lines (14 loc) · 571 Bytes
title linktitle description
Diplay the Contents of a CSV File
Table from CSV
Render the contents of a CSV file as a table.

Table from CSV file

Shortcode reads a CSV and displays the contents in an HTML table.

Pass in delimiter and URL (either local file system or remote URL).

code is not rendered as code when you use backticks in the CSV file. Surround code with <code>some code</code>.

CSV without embedded HTML

{{% csv-table ";" "/static/csv/test.csv" %}}

CSV with embedded HTML

{{% csv-table ";" "/static/csv/test2.csv" %}}