Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent cell padding in pipe tables #6240

Closed
saf-dmitry opened this issue Mar 31, 2020 · 0 comments
Closed

Inconsistent cell padding in pipe tables #6240

saf-dmitry opened this issue Mar 31, 2020 · 0 comments

Comments

@saf-dmitry
Copy link

Issue: In Markdown output format right-aligned cells in pipe tables have no padding on the right side.

Here is a minimal example to reproduce the issue:

After converting file table.text containing a pipe table

| Right | Left | Center | Default |
|--:|:--|:-:|--|
| 12 | 12 | 12 | 12 |
| 123 | 123 | 123 | 123 |
| 1 | 1 | 1 | 1 |

using pandoc v2.9.1.1 with following command

pandoc -t markdown-simple_tables table.text

we get a nicely formatted pipe table, but with right-aligned cells having no padding on the right side:

|  Right| Left | Center | Default |
|------:|:-----|:------:|---------|
|     12| 12   |   12   | 12      |
|    123| 123  |   123  | 123     |
|      1| 1    |    1   | 1       |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants