lipsum

Function lipsum_words

Source
pub fn lipsum_words(n: usize) -> String
Expand description

Generate n words of random lorem ipsum text.

The text starts with a random word from LOREM_IPSUM. Multiple sentences may be generated, depending on the punctuation of the words being random selected.

ยงExamples

use lipsum::lipsum_words;

println!("{}", lipsum_words(6));
// -> "Propter soliditatem, censet in infinito inani."