Hyperbook Documentation

Table

You can declare tables by using a combination of pipe symbols (|), for defining columns and three dashed for defining the header row.

Here is a simple example:

| Name | Value |
| ---- | ----- |
| Red  | 5     |
| Blue | 4     |
NameValue
Red5
Blue4

The pipe symboles do not need to be aligned.

Alignment

The alignment of columns can be declared by using colons.

| Left   | Center | Right |
| :----- | :----: | ----: |
| Text 1 |  Red   |  1600 |
| Text 2 |  Blue  |    12 |
| Text 3 | Green  |     1 |
LeftCenterRight
Text 1Red1600
Text 2Blue12
Text 3Green1

The width of a column can not be declared. It will be calculated depending on the content and the webbrowser.

✎ GitHub© Copyright 2024 by OpenPatch.