You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2019. It is now read-only.
// By default, headers will be red, and borders will be greyvartable=newTable({head:['a','b']});table.push(['c','d']);
Basic Usage - disable colors - (used often in the examples and tests)
┌──────┬─────────────────────┬─────────────────────────┬─────────────────┐
│ Rel │ Change │ By │ When │
├──────┼─────────────────────┼─────────────────────────┼─────────────────┤
│ v0.1 │ Testing something … │ rauchg@gmail.com │ 7 minutes ago │
├──────┼─────────────────────┼─────────────────────────┼─────────────────┤
│ v0.1 │ Testing something … │ rauchg@gmail.com │ 8 minutes ago │
└──────┴─────────────────────┴─────────────────────────┴─────────────────┘
// For most of these examples, and most of the unit tests we disable colors.// It makes unit tests easier to write/understand, and allows these pages to// display the examples as text instead of screen shots.vartable=newTable({head: ['Rel','Change','By','When'],style: {head: []//disable colors in header cells,border: []//disable colors for the border},colWidths: [6,21,25,17]//set the widths of each column (optional)});table.push(['v0.1','Testing something cool','rauchg@gmail.com','7 minutes ago'],['v0.1','Testing something cool','rauchg@gmail.com','8 minutes ago']);
Create vertical tables by adding objects a that specify key-value pairs