ohakutsu / textlint-rule-table-align

textlint rule that check table align.

Home Page:https://www.npmjs.com/package/textlint-rule-table-align

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

textlint-rule-table-align

textlint rule that check table align.

By default, no alignment at table.

[OK]

| foo | bar |
| --- | --- |
| 111 | 222 |

[NG]

| foo | bar |
| :-- | --: |
| 111 | 222 |

Install

npm install textlint-rule-table-align

Usage

{
  "rules": {
    "table-align": true
  }
}

Options

{
  // Prefer alignment. (default is no alignment)
  // You can configure `'left'`, `'right'`, `'center'` or `null`.
  "align": null,
}

License

MIT License

About

textlint rule that check table align.

https://www.npmjs.com/package/textlint-rule-table-align

License:MIT License


Languages

Language:TypeScript 100.0%