From 3511293cda94a89379f3fc2277da25f442da4db6 Mon Sep 17 00:00:00 2001 From: python-slugify-12 Date: Wed, 14 Oct 2026 16:29:34 +0000 Subject: [PATCH] docs: document stopwords in README Co-authored-by: CommandCodeBot --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 2a68581..a5d7bb1 100644 --- a/README.md +++ b/README.md @@ -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' ```