Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ from slugify import slugify

assert slugify('a'b') == 'ab' # unchanged default
assert slugify('a'b', algorithm='modern') == 'a-b'
assert slugify(
'The quick brown fox jumps over the lazy dog',
stopwords=('the', 'over'),
) == 'quick-brown-fox-jumps-lazy-dog'
assert slugify('xylophone x', separator='x', max_length=100, algorithm='modern') == 'xylophonexx'
```

Expand Down
Loading