Skip to content

Commit eebd079

Browse files
natebwangsutdidix21
authored andcommitted
fix: add support for List argument of text_align in new_table
1 parent 4b1734f commit eebd079

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mdutils/mdutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def new_table(
206206
columns: int,
207207
rows: int,
208208
text: List[str],
209-
text_align: str = "center",
209+
text_align: Optional[Union[str, list]] = "center",
210210
marker: str = "",
211211
) -> str:
212212
"""This method takes a list of strings and creates a table.

0 commit comments

Comments
 (0)