textlint-rule-period-in-header

0.1.2 • Public • Published

textlint-rule-period-in-header

textlint rule

textlint rule that check with or without period in header.

By default, no period mark at end of header.

[OK]

# header

[NG]

# header.

Install

npm install textlint-rule-period-in-header

Usage

{
  "rules": {
    "period-in-header": true
  }
}

Options

{
  // Prefer to use period mark. (default is no period)
  // You can select period mark from `periodMarks`.
  "periodMark": "",
  // Built-in recognized period mark list.
  "periodMarks": [".", "。", "."]
}

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i textlint-rule-period-in-header

Weekly Downloads

74

Version

0.1.2

License

MIT

Unpacked Size

10.8 kB

Total Files

5

Last publish

Collaborators

  • ohakutsu