Table

What is Table?

Rows and columns built from pipes (|) separating cells, with a row of dashes marking the header.

Why it matters

Useful for structured data with a few columns; for anything bigger, a list often reads better.

How it works

Pipes don't have to line up perfectly — it's the dashes row under the header that makes it render as a table. Add colons to the dashes to align columns left, center, or right.

Examples

  • `| Plan | Price |`
  • `| ---- | ----- |`
  • `| Free | $0 |`

Back to the glossary