Skip to content

Extra Whitespace in GitHub Table Format #195

Description

@sortedcord

I couldn't help but notice that tabulate adds extra padding for thinner columns when using GitHub table format. The difference might be subtle, but it is there..
Here is an example:

Original

| S.No.   | File Size   |
|---------|-------------|
| 00      | 4.2 MB      |
| 01      | 43.8 MB     |
| 02      | 3.5 MB      |
| 03      | 14.5 MB     |
| 04      | 1.5 MB      |

Without Whitespace

| S.No. | File Size |
|-------|-----------|
| 00    | 4.2 MB    |
| 01    | 43.8 MB   |
| 02    | 3.5 MB    |
| 03    | 14.5 MB   |
| 04    | 1.5 MB    |

Am I missing out on something or is there any way to disable this. I can't seem to find a workaround for this..

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions