Skip to content

Commit

Permalink
Merge pull request #5 from peopledoc/docs/readme-examples
Browse files Browse the repository at this point in the history
docs(readme): add a slugify example with diacritics
  • Loading branch information
Marine Dunstetter authored Mar 12, 2019
2 parents 75e7e28 + a8b98db commit 0446992
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ let options = { separator: '#' }); // options for speakingurl
let slug = slugify('你好你怎么样 monsieur', options); // ni#hao#ni#zen#me#yang#monsieur

let noDiacritics = removeDiacritics('Théâtre'); // Theatre
let slug = slugify('Théâtre'); // theatre
```

## License
Expand Down

0 comments on commit 0446992

Please sign in to comment.