Last active
February 3, 2026 20:23
-
-
Save dacr/af64aff158cee6e97e2201aab696a848 to your computer and use it in GitHub Desktop.
lorem ipsum generator / published by https://github.com/dacr/code-examples-manager #2ae6a463-3266-49e5-ac47-a167ce3faddd/3d3881f685a12e8549fe72a27ed7f3a6751ccb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // summary : lorem ipsum generator | |
| // keywords : scala, loremipsum | |
| // publish : gist | |
| // authors : David Crosson | |
| // license : Apache License Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) | |
| // id : 2ae6a463-3266-49e5-ac47-a167ce3faddd | |
| // created-on : 2020-03-27T21:29:05Z | |
| // managed-by : https://github.com/dacr/code-examples-manager | |
| // execution : scala ammonite script (http://ammonite.io/) - run as follow 'amm scriptname.sc' | |
| import $ivy.`fr.janalyse::lorem-ipsum:1.0.4` | |
| import loremipsum._ | |
| val story = LoremIpsum.generate(wordCount = 242, alwaysStartWithLorem = true, truncate = false, sentencesBased=true, randomize=true) | |
| println(story.map(_.text).mkString("\n\n")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment