tables
New Autofix Since v0.1.0
Formatter: pads every column of a table to one width.
Example#
doc.md:
| Name | Role |
|---|---|
| markright | formats and lints Markdown |markright check reports:
doc.md:1: table columns are not aligned (tables)
doc.md:2: table columns are not aligned (tables)
markright: 2 issue(s)markright fmt rewrites it to:
| Name | Role |
|-----------|----------------------------|
| markright | formats and lints Markdown |Turning it off#
formatters:
disable: [tables][formatters]
disable = ["tables"]More in Rules.