Sha256: 86596dec119dd4cc477c2edb2477ccb39614577fcbe9c769d1be1b1c7bc092b7

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

# TypeRight

    ________________________________________________________________
            ______                       ____
              /                          /    )   ,         /
    ---------/---------------__----__---/___ /--------__---/__--_/_-
            /      /   /   /   ) /___) /    |   /   /   ) /   ) /
    _______/______(___/___/___/_(___ _/_____|__/___(___/_/___/_(_ __
                     /   /                            /
                 (_ /   /                         (_ /



Makes text more pleasant for the eyes.


Turns this:

```
And so... "Why?" -- He replied
Because -> this! And => this!
Also, notice some math: Pi + 2 * 180 / 2.
```

Into this:

```
And so… “Why?” — He replied.
Because → It’s cool! And ⇒ I like beautiful text!.
Also, notice some math: π + 2 × 180 ÷ 2.
```

## Install

    gem install typeright


## Use

    Typeright.s(a_text)


## Todo

- Spaces

## Won't Do

Non UTF-8 modifications. Eg. `Small Caps`.

For that complement with a client-side lib:


Inspiration and thanks

https://github.com/davidmerfield/Typeset


## Also nice

http://webtypography.net/
http://kyleamathews.github.io/typography.js/#/

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typeright-0.0.3 README.md