For the complete documentation index, see llms.txt. This page is also available as Markdown.
The .csv {path} {mode?} {caption?} docs ↗ function loads a table from a CSV file. The first row of the CSV file always serves as the header row.
The
pathparameter can be either a path relative to the main source file’s location or an absolute path. Use a slash (/) as the path separator, regardless of the operating system.
Tables loaded from CSV can also be manipulated. See Table manipulation for more information.
.csv {assets/people.csv}| Username | Birth year | Favorite food | Favorite drink |
|---|---|---|---|
| john | 1992 | Chicken | Orange juice |
| iamgio | 2002 | Pasta | Iced tea |
| daniel | 1986 | Sushi | Beer |
You can also provide a caption.
.csv {assets/people.csv} caption:{People data.}| Username | Birth year | Favorite food | Favorite drink |
|---|---|---|---|
| john | 1992 | Chicken | Orange juice |
| iamgio | 2002 | Pasta | Iced tea |
| daniel | 1986 | Sushi | Beer |
The mode parameter controls how the CSV file is parsed. It defaults to plain, which treats all cell content as plain text. If set to markdown, Quarkdown parses cell content as inline Quarkdown source code, allowing formatting, rich content, and inline function calls within the CSV.
Name, Favorite drink, Age *(as of 2026)*
Alice, Coffee, .subtract {2026} {1995}
Bob, *Pepsi*, .subtract {2026} {2001}.csv {assets/people2.csv} mode:{markdown}| Name | Favorite drink | Age (as of 2026) |
|---|---|---|
| Alice | Coffee | 31 |
| Bob | Pepsi | 25 |