FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Renders GitHub-Flavored Markdown tables in canonical format by kdeldycke · Pull Request #260 · astanin/python-tabulate · GitHub

Renders GitHub-Flavored Markdown tables in canonical format - #260

Closed
kdeldycke wants to merge 1 commit into
astanin:masterfrom
kdeldycke:gfm-formatted-tables
Closed

Renders GitHub-Flavored Markdown tables in canonical format#260
kdeldycke wants to merge 1 commit into
astanin:masterfrom
kdeldycke:gfm-formatted-tables

Conversation

Copy link
Copy Markdown
Contributor

In the GitHub Flavored Markdown Spec, tables are formatted in all sorts of shapes.

But one common aspect is that the pipes separating the cells are padded by a space. This is acknowledged in python-tabulate with the padding=1 settings. But unfortunately this setting doesn't applies to the lineabove and linebelowheader lines.

This PR fixes this issue, by having the line separators renders with padding spaces between the pipes and dashes.

Copy link
Copy Markdown
Contributor Author

All tests are passing, this PR is ready to be merged upstream.

Copy link
Copy Markdown
Contributor Author

This PR has been superseded by #261.

kdeldycke closed this Apr 4, 2023
kdeldycke deleted the gfm-formatted-tables branch April 4, 2023 14:22
kdeldycke added a commit to kdeldycke/python-tabulate that referenced this pull request Apr 6, 2026
kdeldycke added a commit to kdeldycke/python-tabulate that referenced this pull request Apr 6, 2026
kdeldycke added a commit to kdeldycke/python-tabulate that referenced this pull request Apr 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL