Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.54 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.54 KB

textlint-rule-no-curly-quotes Actions Status: test textlint rule

Prevents the usage of curly quotation marks, and replace them to normal ascii ones.

The purpose of this package is to use ascii characters in editor, and convert them to curly symbols if you want in rendering using a parser which supports this like Typographer extension of goldmark or smartypants.

This is the opposite of textlint-rule-quotes, and you probably won't to stop one of them as they contradict.

Character Replacement
"
"
'
'

Install

Install with npm:

npm install textlint-rule-no-curly-quotes

Usage

Via .textlintrc.json(Recommended)

{
    "rules": {
        "no-curly-quotes": true
    }
}

Via CLI

textlint --rule no-curly-quotes README.md

Build

Builds source codes for publish to the lib folder. You can write ES2015+ source codes in src/ folder.

npm run build

Tests

Run test code in test folder. Test textlint rule by textlint-tester.

npm test

License

MIT © aborazmeh