Functions for creating URL safe slugs from text strings.
Functions for creating URL safe slugs from text strings.
(find-available-slug name taken)
Create a slug from name
but find alternatives
if the resulting slug is part of the set given as taken
Create a slug from `name` but find alternatives if the resulting slug is part of the set given as `taken`
(valid-slug? slug)
Return true
if the specified slug is potentially a valid slug (follows the rules), otherwise return false
.
Return `true` if the specified slug is potentially a valid slug (follows the rules), otherwise return `false`.
cljdoc builds & hosts documentation for Clojure/Script libraries
⌘+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
⌘+/ | Jump to the search field |