@@ -126,15 +126,15 @@ All parameters are optional.
126
126
127
127
Soon table2ascii will support more options for customization.
128
128
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 |
138
138
139
139
## 👨🎨 Use cases
140
140
0 commit comments