jacksleight / statamic-bard-ipsum
Generate lorem ipsum paragraphs, sentences or words in the Bard fieldtype by simply typing a shortcut.
Package info
github.com/jacksleight/statamic-bard-ipsum
Language:Antlers
pkg:composer/jacksleight/statamic-bard-ipsum
Fund package maintenance!
Requires
- statamic/cms: ^6.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Bard Ipsum
This Statamic addon adds a lorem ipsum filler text generator to the Bard fieldtype.
Installation
You can search for this addon in the Tools > Addons section of the Statamic control panel and click install, or run the following command from your project root:
composer require jacksleight/statamic-bard-ipsum
Or if you only want to use it during local development:
composer require jacksleight/statamic-bard-ipsum --dev
Usage
Just type lorem5 and hit enter. The number is how many paragraphs you want. You can also append the following modifiers:
lorem[n]p/lorem[n]: Generatenparagraphslorem[n]s: Generatensentenceslorem[n]w: Generatenwords
If you're using an inline Bard field the paragraphs are joined with line breaks (if the field allows them) or spaces instead.
Credits
This addon uses the awesome lorem-ipsum text generator package by Nickolas Kenyeres.
Sponsoring
This addon is completely free to use. However fixing bugs, adding features and helping users takes time and effort. If you find this addon useful and would like to support its development any contribution would be greatly appreciated. Thanks! 🙂