Skip to content

Commit f04d133

Browse files
committed
More specific types
1 parent e71e55b commit f04d133

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,15 @@ All parameters are optional.
126126

127127
Soon table2ascii will support more options for customization.
128128

129-
| Option | Type | Default | Description |
130-
| :-----------------: | :-------: | :----------: | :----------------------------------------------------------------------------------------: |
131-
| `header` | `List` | `None` | First row of table seperated by header row seperator |
132-
| `body` | `2D List` | `None` | List of rows for the main section of the table |
133-
| `footer` | `List` | `None` | Last row of table seperated by header row seperator |
134-
| `column_widths` | `List` | automatic | List of column widths in characters for each column |
135-
| `alignments` | `List` | all centered | Alignments for each column<br/>(ex. `[Alignment.LEFT, Alignment.CENTER, Alignment.RIGHT]`) |
136-
| `first_col_heading` | `bool` | `False` | Whether to add a heading column seperator after the first column |
137-
| `last_col_heading` | `bool` | `False` | Whether to add a heading column seperator before the last column |
129+
| Option | Type | Default | Description |
130+
| :-----------------: | :---------------: | :----------: | :----------------------------------------------------------------------------------------: |
131+
| `header` | `List[str]` | `None` | First row of table seperated by header row seperator |
132+
| `body` | `List[List[str]]` | `None` | `None` | List of rows for the main section of the table |
133+
| `footer` | `List[str]` | `None` | Last row of table seperated by header row seperator |
134+
| `column_widths` | `List[int]` | automatic | List of column widths in characters for each column |
135+
| `alignments` | `List[int]` | all centered | Alignments for each column<br/>(ex. `[Alignment.LEFT, Alignment.CENTER, Alignment.RIGHT]`) |
136+
| `first_col_heading` | `bool` | `False` | Whether to add a heading column seperator after the first column |
137+
| `last_col_heading` | `bool` | `False` | Whether to add a heading column seperator before the last column |
138138

139139
## 👨‍🎨 Use cases
140140

0 commit comments

Comments
 (0)