jazzband / prettytable

Display tabular data in a visually appealing ASCII table format
https://pypi.org/project/PrettyTable/
Other
1.32k stars 149 forks source link

Use GitHub Flavored Markdown for table formatting #268

Closed mumblingMac closed 7 months ago

mumblingMac commented 7 months ago

Fixed markdown table formatting to comply with GitHub Flavored Markdown Specification following the details provided in issue #251.

Updated the targeted unit tests as necessary.

Manually validated the generated table could be rendered using the Live Github-Flavored Markdown Editor.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (72d49f0) 94.21% compared to head (8cee2e0) 94.21%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #268 +/- ## ======================================= Coverage 94.21% 94.21% ======================================= Files 5 5 Lines 2387 2387 ======================================= Hits 2249 2249 Misses 138 138 ``` | [Flag](https://app.codecov.io/gh/jazzband/prettytable/pull/268/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jazzband) | Coverage Δ | | |---|---|---| | [macos-latest](https://app.codecov.io/gh/jazzband/prettytable/pull/268/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jazzband) | `94.17% <100.00%> (ø)` | | | [ubuntu-latest](https://app.codecov.io/gh/jazzband/prettytable/pull/268/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jazzband) | `94.17% <100.00%> (ø)` | | | [windows-latest](https://app.codecov.io/gh/jazzband/prettytable/pull/268/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jazzband) | `94.13% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jazzband#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

hugovk commented 7 months ago

Thank you!