Skip to content

aborazmeh/textlint-rule-no-curly-quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published