alfred-lorem-ipsum icon indicating copy to clipboard operation
alfred-lorem-ipsum copied to clipboard

Feature: Generate lists and characters

Open tillkruss opened this issue 7 years ago • 3 comments

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

tillkruss avatar Jul 30 '18 19:07 tillkruss

That would be nice ... :)

Nevu avatar Mar 05 '19 09:03 Nevu

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?

rverrips avatar Jan 07 '22 00:01 rverrips

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

tillkruss avatar Jan 07 '22 16:01 tillkruss