Skip to content

Commit

Permalink
update lower case examples in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dodo committed Apr 18, 2015
1 parent ff7426b commit 4284d8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -35,9 +35,12 @@ print(slug('i ♥ unicode', '_')) // If you prefer something else then `-` as se
// > i_love_unicode

slug.charmap[''] = 'freaking love' // change default charmap or use option {charmap:{…}} as 2. argument
print(slug('I ♥ UNICODE', {lowercase: false})) // If you prefer not lower case
print(slug('I ♥ UNICODE'))
// > I-freaking-love-UNICODE

print(slug('☏-Number', {lower: true})) // If you prefer lower case
// > telephone-number

print(slug('i <3 unicode'))
// > i-love-unicode
```
Expand Down

0 comments on commit 4284d8e

Please sign in to comment.