Skip to content

A small collection of utilities for transforming text

Notifications You must be signed in to change notification settings

RichardDooling/text-utilities

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A small collection of utilities for transforming text.


abbreviation:Very simple script that adds periods for abbriviations. nasa => N.A.S.A.
list-numbered:Makes lines into a numbered list.
titlecase:Make text titlecase.
wraplist78:Wraps lists to 78 characters. Requires pandoc.

clause-break and clause-join are useful if you write hard-wrapped paragraphs with newlines at breaks between clauses.

Given the following (which is very easy to type and version-control):

the cat,
which was not mine but my brother's,
lay on the bed.
the dog,
which was my father's,
lay in the corner.
I didn't like my family
but I liked the pets.

clause-join will produce this:

The cat, which was not mine but my brother's, lay on the bed. The dog, which was my father's, lay in the corner. I didn't like my family but I liked the pets.

About

A small collection of utilities for transforming text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published