table-pipes
New Autofix Since v0.1.0
Formatter: starts and ends every row of a table with a pipe.
Example#
doc.md:
Name | Role
--- | ---
markright | formats Markdownmarkright check reports:
doc.md:1: table row without a leading or trailing pipe (table-pipes)
doc.md:2: table row without a leading or trailing pipe (table-pipes)
doc.md:3: table row without a leading or trailing pipe (table-pipes)
markright: 3 issue(s)markright fmt rewrites it to:
| Name | Role |
| --- | --- |
| markright | formats Markdown |Turning it off#
formatters:
disable: [table-pipes][formatters]
disable = ["table-pipes"]More in Rules.