Indenting Tables

The first row of a table is the only row that has any effect on the indentation of the table.

Increasing Indents:

|one up|two|three |four|five|six |seven|eight|nine

Decreasing Indents:

|one down|two|three |four|five|six |seven|eight|nine

Inconsistent Indents:

|one|two|three |four|five|six |seven|eight|nine

Rulers also count as the first row of a table:

+- |one|two|three | - |four|five|six |seven|eight|nine +-

If you want to change the indentation of a table, simply add or remove indentation to the first row of the table and then re-format it.

Note that tabs (ASCII 9, u+0009) do not have any special meaning, each tab character will be replaced with a single space character (ASCII 32, u+0020).

Excercises

  • line up the second table to match the indentation of the other tables
  • remove all indentaion from the first table
  • what happens when change the indentation of the | one | two | three | header of the last table?
  • what happens when change the indentation of the +---+---+ line on the last table?