Skip to content

Commit

Permalink
Tweak README
Browse files Browse the repository at this point in the history
  • Loading branch information
g-andrade committed Feb 8, 2024
1 parent 46db9b8 commit 61f25b2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,14 @@ In order to decode IDs back, they need to be in the same alphabet.
For practical reasons, the standard limits custom alphabets to ASCII
characters.

(Thanks to Ben Wheeler for his suggestion for [a set of unambiguous looking
(Thanks to @benjiwheeler for his suggestion for [a set of unambiguous looking
characters](https://stackoverflow.com/questions/11919708/set-of-unambiguous-looking-letters-numbers-for-user-input/58098360#58098360)
on Stack Overflow.)

### Profanity: excluding specific words from the IDs

Place [the ID generated with defaults](#default-configuration) in the
blocklist, replacing [the latter](https://github.com/sqids/sqids-blocklist/) in
the process.
As an example, set [the ID generated with default
options](#default-configuration) as the blocklist.

```elixir
iex> {:ok, sqids} = Sqids.new(blocklist: ["86Rf07"])
Expand Down

0 comments on commit 61f25b2

Please sign in to comment.