lini 0.14.0

Pretty diagrams from plain text, with fine-grained control. Compiles to clean, themeable SVG.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Per-column cell alignment on a table: `align` reads one value per column (↔),
// start / center / end → left / centre / right, reaching the filled |header| band
// and every body cell alike. Every table cell fills its track (so backgrounds
// fill and the text has room); the column's `align` places the text inside.
{ padding: 26; }

|table#invoice| "Invoice" {
  columns: 130 70 100;
  align: start center end;
} [
  "Item"      "Qty" "Price"
  "Keyboard"  "2"   "$120.00"
  "Monitor"   "1"   "$340.00"
  "USB cable" "5"   "$9.50"
]