You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I opted to disabling table cell padding in remark-stringify, because it lessens diff noise, especially on big generated tables.
But the relevant lint plugin (remark-lint-table-cell-padding) only has the padded and compact modes. Compact is almost what I want, but it doesn't allow a space between pipes (|) and content.
In addition, remark-contributors generates padded tables.
So for now I'll switch to padded tables, and configure remark-lint-table-cell-padding with padded mode.
Because on big tables it creates noise.
Setting "paddedTable" to "false" in package.json does 3 things:
1. Disable padding by `remark-stringify`
2. Use fixed width columns: `| --- | --- |`
3. Disable `remark-lint-table-cell-padding`
Linting is disabled because `remark-lint-table-cell-padding` has
no option (yet) for this particular style.
See: remarkjs/remark-lint#217
Prior discussion: #16
I opted to disabling table cell padding in
remark-stringify
, because it lessens diff noise, especially on big generated tables.But the relevant lint plugin (
remark-lint-table-cell-padding
) only has thepadded
andcompact
modes. Compact is almost what I want, but it doesn't allow a space between pipes (|
) and content.In addition,
remark-contributors
generates padded tables.So for now I'll switch to padded tables, and configure
remark-lint-table-cell-padding
withpadded
mode.FYI @ralphtheninja
The text was updated successfully, but these errors were encountered: