Skip to content

Conversation

niemela
Copy link
Member

@niemela niemela commented Aug 26, 2025

Fixes #326

- No prefix `|` at the beginning of rows
- No postfix `|` at the end of rows
- Exactly one space between `---` and `|` in the header divider row on each side
- Match width of columns for all rows (that is, all columns are as wide as the largest content), except when that becomes unreasonable
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd also argue that you may not want to reduce the width when removing the widest element in a column to prevent a diff of the whole table.

@niemela niemela merged commit 7b14e9f into master Aug 28, 2025
@niemela niemela deleted the add-style-guide branch August 28, 2025 01:30
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.

Define formatting/writing style points?
2 participants