typefixer

0.1.1 • Public • Published

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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i typefixer

    Weekly Downloads

    0

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    3.1 kB

    Total Files

    4

    Last publish

    Collaborators

    • jonathanp