Function lipsum::lipsum_title

source ·
pub fn lipsum_title() -> String
Expand description

Generate a short lorem ipsum text with words in title case.

The words are capitalized and stripped for punctuation characters.

§Examples

use lipsum::lipsum_title;

println!("{}", lipsum_title());

This will generate a string like

Grate Meminit et Praesentibus

which should be suitable for use in a document title for section heading.