beautify-text-cli
v1.0.1
Published
Automated typographic quotation and punctuation marks
Downloads
8
Maintainers
Readme
beautify-text-cli
Automated typographic quotation and punctuation marks. CLI for bevacqua/beautify-text.
Install
$ npm install --global beautify-text-cli
Usage
Input text via stdin or files. See output on stdout.
$ # Piping
$ echo '"Hello world"' | beautify
“Hello world”
$ # Interactive stdin
$ beautify
"Hello world"
“Hello world”
$ # Files
$ beautify files/*.txt >> combined.txt
Features
Prettifies several typographic marks, some cases are outlined below.
- Single and double quotes
- Apostrophes
- Marks like
(tm)
,(c)
,(r)
and(p)
into™
,©
,®
and§
- Long dashes, like
---
into—
..
,...
, etc into…
(but?..
,!..
aren't transformed)+-
into±
License
MIT © Darshak Parikh