@@ -126,15 +126,15 @@ All parameters are optional.
126126
127127Soon 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