Description
Convert text into slugs.
Description
Convert a Text
object into a visually pleasant URL component.
README.md
slugify
Make slugs in Haskell. This package is based on the slugify
function of Django [Django-doc].
Usage
One can make use of slugify
, slugifyUnicode
and slugifyWith
from the Text.Slugify
module to convert a Text
object to an equivalent slug
, for example:
*Text.Slugify Text.Slugify> slugify "Haskell 98 Language and Libraries"
"haskell-98-language-and-libraries"
slugify
is not safe Haskell
slugify
depends on unicode-transforms
, which is not safe Haskell.
Contribute
You can contribute by making a pull request on the GitHub repository.
You can contact the package maintainer by sending a mail to [email protected]
.