prettier-plugin-markdown-compact-tables weekly downloads statistics
By cudoment (2 listings) · npm · Prettier plugins
Prettier plugin that prints Markdown and MDX tables in a compact form, without alignment padding.
prettier-plugin-markdown-compact-tables has 5,383 recorded weekly downloads on npm, an increase of 191% over the past 30 days, ranking #1499 of 3,247 tracked listings.
About prettier-plugin-markdown-compact-tables
prettier-plugin-markdown-compact-tables
English | 한국어
A Prettier plugin that prints Markdown and MDX tables in a compact form, without alignment padding. It hooks into Prettier 3's markdown and mdx parsers.
Pipes are surrounded by exactly one space, and cells are never padded to match column widths.
Contents
- Why
- Requirements
- Installation
- Configuration
- Running it
- Table compaction
- prettier-plugin-markdown-replacements
- Compatibility
- Development
- License
Why
Prettier's built-in Markdown printer pads every cell to its column width whenever the table fits within printWidth. Only a table that overflows the limit is printed in a compact form. In a documentation project that raises printWidth so prose is never wrapped, that means every table gets alignment padding.
When a table packs several lines into one cell with <br />, mixing lists and code, that single cell decides the width of the whole table. In the table below only the send_mode description is long: title and is_public are barely a few words.
What you write
<!-- prettier-ignore -->| Name | Type | Description | Required |
| --- | --- | --- | --- |
| title | `String` | Notification title | O |
| send_mode | `Integer` | Delivery mode<br />- `0`: send immediately<br />- `1`: schedule for later<br />--set the time with `send_at`<br />- `2`: do not send<br />**Note**: defaults to `0` when omitted | X |
| is_public | `Boolean` | Whether the notice is public | X |
What the default printer produces
<!-- prettier-ignore -->| Name | Type | Description | Required |
| --------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| title | `String` | Notification title | O |
| send_mode | `Integer` | Delivery mode<br />- `0`: send immediately<br />- `1`: schedule for later<br />--set the time with `send_at`<br />- `2`: do not send<br />**Note**: defaults to `0` when omitted | X |
| is_public | `Boolean` | Whether the notice is public | X |
The description cells of title and is_public are padded out to the width of the send_mode description.
With word wrap on in an 80-column editor, it looks roughly like this. The padding stretches into what look like blank lines, the last cell of each row is pushed onto a line of its own, and the delimiter row runs on for four lines.
| Name | Type | Description
| Required |
| --------- | --------- |
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
---------------- | -------- |
| title | `String` | Notification title
| O |
| send_mode | `Integer` | Delivery mode<br />- `0`: send immediately<br />- `1`:
schedule for later<br />--set the time with `send_at`<br />- `2`: do not
send<br />**Note**: defaults to `0` when omitted | X |
| is_public | `Boolean` | Whether the notice is public
| X |
What this plugin produces
<!-- prettier-ignore -->| Name | Type | Description | Required |
| --- | --- | --- | --- |
| title | `String` | Notification title | O |
| send_mode | `Integer` | Delivery mode<br />- `0`: send immediately<br />- `1`: schedule for later<br />--set the time with `send_at`<br />- `2`: do not send<br />**Note**: defaults to `0` when omitted | X |
| is_public | `Boolean` | Whether the notice is public | X |
Under the same word wrap, only the long send_mode row folds, into three lines; the other four rows stay on one line each.
| Name | Type | Description | Required |
| --- | --- | --- | --- |
| title | `String` | Notification title | O |
| send_mode | `Integer` | Delivery mode<br />- `0`: send immediately<br />- `1`:
schedule for later<br />--set the time with `send_at`<br />- `2`: do not
send<br />**Note**: defaults to `0` when omitted | X |
| is_public | `Boolean` | Whether the notice is public | X |
Line lengths
| Line | Default printer | This plugin |
|---|---|---|
| Header | 215 chars | 40 chars |
| Delimiter | 215 chars | 25 chars |
title row | 215 chars | 45 chars |
send_mode row | 215 chars | 208 chars |
is_public row | 215 chars | 60 chars |
Not a single character of content was added, yet the short lines grew three to nine times longer, and every added position is a space.…
Description from the npm listing.
- prettier
- prettier-plugin
- markdown
- mdx
- table
- formatter
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (592)Similar npm Prettier plugins plugins
All 20 prettier-plugin-markdown-compact-tables alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/prettier-plugin-markdown-compact-tables. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.