0.1.1 • Published 5 years ago

typefixer v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Typefixer

Utility for transforming your Markdown files to use typographically correct punctuation. Basically a CLI wrapper around wooorm/retext and wooorm/retext-smartypants.

NPM version

Install

$ npm install -g typefixer

Usage

$ cat foo.md
Lorem "ipsum" dolor 'sit' amet...

$ typefixer foo.md
Lorem “ipsum” dolor ‘sit’ amet…

If you want to save the transformation to a file use the redirection operator (>), e.g.

$ typefixer foo.md > fixed.md

Inspiration

http://smartquotesforsmartpeople.com

License

MIT © Jonathan Svenheden