Skip to content

Generate tables from 2D string arrays#114

Merged
didix21 merged 2 commits into
didix21:masterfrom
skelsec:master
Jun 27, 2025
Merged

Generate tables from 2D string arrays#114
didix21 merged 2 commits into
didix21:masterfrom
skelsec:master

Conversation

@skelsec

@skelsec skelsec commented Jun 24, 2025

Copy link
Copy Markdown
Contributor
  • Implemented new_table_array in MdUtils for creating tables from lists of lists.
  • Added create_table_array in Table to normalize data and generate markdown tables.

This features would allow users to skip dealing with column and row numbers and make creating tables much easier.

…o Table

- Implemented new_table_array in MdUtils for creating tables from lists of lists.
- Added create_table_array in Table to normalize data and generate markdown tables.
- Enhanced documentation for the new methods with examples.
@didix21 didix21 self-requested a review June 25, 2025 16:31
@didix21 didix21 added the enhancement New feature or request label Jun 25, 2025
- Implemented multiple test cases to validate the functionality of create_table_array, including basic functionality, various text alignments, handling of uneven rows, mixed data types, and special characters.
- Ensured coverage for edge cases such as empty data and rows with empty lists.
@skelsec

skelsec commented Jun 27, 2025

Copy link
Copy Markdown
Contributor Author

For the sake of completeness, I've added tests

@didix21 didix21 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your contribution.

@didix21 didix21 merged commit d81833b into didix21:master Jun 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants