Function lipsum::lipsum_words
source · pub fn lipsum_words(n: usize) -> String
Expand description
Generate n
words of lorem ipsum text.
The text is deterministically sampled from a Markov chain based on
LOREM_IPSUM
. Multiple sentences may be generated, depending on the
punctuation of the words being selected.
§Examples
use lipsum::lipsum_words;
assert_eq!(lipsum_words(6), "Ullus investigandi veri, nisi inveneris, et.");