cells
GraphCells
A small grid of filled and empty cells. Write `- fragments: 1 0 1 0 0 / 0 1 0 1 0`. To show a share out of 100, use Waffle.
- use it
- Good for a small grid of filled and empty cells.
two ways to learn
fragments
a system
<GraphCells title="TWO WAYS TO LEARN">
- fragments: 1 0 1 0 0 / 0 1 0 1 0 / 1 0 0 0 1
- a system: 1 1 1 1 1 / 1 1 1 1 1 / 1 1 1 1 1
</GraphCells>install
command
coverage
this week
<GraphCells title="COVERAGE">
- this week: 1 1 1 1 0 / 1 1 0 1 1 / 1 0 1 1 1
</GraphCells>| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| items | CellGrid[] | — | Each item is a labeled 0/1 matrix. Optional when children are Markdown. |
| children | Markdown | — | - fragments: 1 0 1 0 0 / 0 1 0 1 0 |
| glyphs | "shade" | "ascii" | "hash" | "bar" | string[] | "shade" | Character set. shade is ·░▒▓█. ascii is .- =#@. Pass a preset or your own characters. |
| palette | "mono" | "duo" | "multi" | "mono" | mono is one accent plus muted. duo paints the second series with --graph-accent-2. multi cycles three accents. |
| corner | string | "+" | Character at each corner of the frame. |
| frame | "box" | "corners" | "rule" | "none" | "box" | box draws the dashed border. corners keeps only the corner marks. rule draws dashed lines above and below. none drops the border and padding, and puts the title above the content. |
| className | string | — | Passed to the outer frame. |