mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #1159] Formatter functionality: adjust table size to its content #628
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#628
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jerrygreen on GitHub (Mar 24, 2024).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1159
Just like prettier. Unfortunately prettier has some weird formatting style like this.
So I prefer markdownlint. But unfortunately, it doesn’t format tables.
@DavidAnson commented on GitHub (Mar 24, 2024):
Sorry, what are you asking for? The example above is a 3-item list, not a table?
@nschonni commented on GitHub (Mar 24, 2024):
I think "tab size" rather than "table size". It seems to be talking about the trailing space/alignment after an ordered list start
@nschonni commented on GitHub (Mar 24, 2024):
That would already be covered by MD030 already
@jerrygreen commented on GitHub (Mar 24, 2024):
Sorry for confusing. The list example was just to tell that I don’t like prettier: it’s weird, just look how they format lists lol.
But markdownlint doesn’t format tables… That’s sadge. And the issue about this exact part. Formatting tables.
@nschonni commented on GitHub (Mar 24, 2024):
This is a terribly explained issue, if the maintainers or others can't understand what you're asking/reporting, you waste a lot of peoples time
@DavidAnson commented on GitHub (Mar 24, 2024):
I still don't understand this issue or how it relates to prettier. Please show an example of the current behavior of markdownlint and explain what you would like to see instead.
@jerrygreen commented on GitHub (Mar 24, 2024):
Here's what prettier does to tables:
But
markdownlintcan't do this, unfortunately. Withmarkdownlint, the table remain still.@DavidAnson commented on GitHub (Mar 25, 2024):
Thanks for the clip! This seems to be the same request as #90, for table cells to align vertically.