Tables
Tables
Tables in Tachyonn use the familiar Markdown pipe syntax. If you've written a Markdown table before, you already know how — and if not, it's quick to pick up.
The basics
Separate columns with pipes (|), and put a row of dashes under the header to mark where the header ends:
| Item | Qty | Price |
| ----- | --- | ----- |
| Apple | 3 | 1.50 |
| Pear | 5 | 2.00 |The first row becomes the header; everything below is data. The dashes don't need to line up perfectly — Tachyonn is forgiving about spacing — but keeping them tidy makes your source easier to read.
Column alignment
To control how each column aligns, add a modifier line just above the table. Inside < >, write one letter per column: l for left, c for center, r for right.
<lcr>
| Item | Qty | Price |
| ----- | --- | ----- |
| Apple | 3 | 1.50 |
| Pear | 5 | 2.00 |Here the first column is left-aligned, the second centered, and the third right-aligned — perfect for lining up numbers.
| Modifier | Meaning |
|---|---|
<lcr> | Per-column alignment: a sequence of l, c, r |
Tips for slides
Tables are dense, and slides are not the place for a spreadsheet. A few guidelines keep them readable from the back of the room:
- Keep it to a handful of rows and columns.
- Right-align numbers so they're easy to compare.
- If a table feels cramped, it's often two slides trying to be one.