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

Feature: Generate lists and characters #2

Open
tillkruss opened this issue Jul 30, 2018 · 3 comments
Open

Feature: Generate lists and characters #2

tillkruss opened this issue Jul 30, 2018 · 3 comments

Comments

@tillkruss
Copy link
Owner

It would be nice to generate a fixed amount of characters as well as lists.

@Nevu
Copy link

Nevu commented Mar 5, 2019

That would be nice ... :)

@rverrips
Copy link

rverrips commented Jan 7, 2022

I would suggest to split this into two separate feature requests:

1 - Generate lists: This should already be possible as the delimiter can already be specified when called the subsequent library. Just need to decide if you want to wrap each line in html <li> tags or dashes and line endings.

2 - Limiting Characters: The library doesn't currently support this, but it has it listed as a feature request already

I am however curious as I'm thinking the fixed characters can be implemented in different ways, i.e.
lorem words 3 fixed 5 makes sense to me - Return 3 words that are 5 characters in length, or do we want a string of words, no matter what length they are, but limiting the return string to a maximum value?
lorem sentences 2 fixed 30 are we wanting to get back 2 sentences that total 30 characters each, or 2 sentences that total 30 characters?

I would expect the use case being we want a string of sentences that match a certain length - Would we be ok with a length shorter, i.e. would we also want:
lorem sentences 2 max 30 to give a string with 2 sentences with a total length of the sentence not exceeding 30 characters but may be less?

@tillkruss
Copy link
Owner Author

@rverrips: I'm open to PRs, just keep 'em separate 🙂

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

3 participants