slugify
slugify copied to clipboard
An Elixir library to convert strings in any language into slugs
Besides other documentation changes, this commit ensures the generated HTML doc for HexDocs.pm will become the main reference doc for this Elixir library which leverage on latest features of ExDoc.
Warning when generating the doc. ``` $ MIX_ENV=docs mix docs Compiling 2 files (.ex) warning: Jason.decode!/1 is undefined (module Jason is not available or is yet to be defined) lib/mix/tasks/slugify.ex:26:...
A simple lookup table is currently used to transliterate Unicode codepoints into Latin characters. While this is acceptably accurate for some languages (e.g. chinese characters to pinyin), it fails badly...