Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement] Compund slugs #66

Open
christher-lenander opened this issue Feb 24, 2022 · 2 comments
Open

[enhancement] Compund slugs #66

christher-lenander opened this issue Feb 24, 2022 · 2 comments

Comments

@christher-lenander
Copy link

Would be great if you could config compund slugs with 2 or more fields like title and id.

@sindresorhus
Copy link
Owner

slugify([title, id].join(' '));

?

@sindresorhus
Copy link
Owner

Not sure I see the need to complicate the API for this. No one else has requested this, so it doesn't seem like a common need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants