Skip to content

Center center-aligned cells#923

Merged
syohex merged 2 commits intojrblevin:masterfrom
nobu:table-centerize
Dec 4, 2025
Merged

Center center-aligned cells#923
syohex merged 2 commits intojrblevin:masterfrom
nobu:table-centerize

Conversation

@nobu
Copy link
Contributor

@nobu nobu commented Dec 4, 2025

Center center-aligned cells.

Description

Center-aligned cells were formatted as left-aligned.

When markdown-table-align at the following table:

| A | B |
|:---:|:--:|
| a | bbbbbb |
| aaa | bbbb |

Before:

| A   | B      |
|:---:|:------:|
| a   | bbbbbb |
| aaa | bbbb   |

After:

|  A  |   B    |
|:---:|:------:|
|  a  | bbbbbb |
| aaa |  bbbb  |

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves an existing feature)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the CONTRIBUTING.md document.
  • I have updated the documentation in the README.md file if necessary.
  • I have added an entry to CHANGES.md.
  • I have added tests to cover my changes.
  • All new and existing tests passed (using make test).

@syohex syohex merged commit 92802fa into jrblevin:master Dec 4, 2025
4 checks passed
@syohex
Copy link
Collaborator

syohex commented Dec 4, 2025

Thanks.

@nobu nobu deleted the table-centerize branch December 4, 2025 16:40
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.

2 participants