textlint-rule-table-align

1.0.0 • Public • Published

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

/textlint-rule-table-align/

    Package Sidebar

    Install

    npm i textlint-rule-table-align

    Weekly Downloads

    6

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    5.2 kB

    Total Files

    5

    Last publish

    Collaborators

    • ohakutsu