Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseidman authored Jun 17, 2024
1 parent 25b8ee2 commit ded6bdd
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
# lorem-alfred
Generate HTML-tagged lorem ipsum text via Alfred
# Lorem Alfred

An Alfred workflow primarily for generating HTML-coded dummy text.

By default, this workflow pastes two paragraphs of lorem ipsum text wrapped in HTML `<p>` paragraph tags into your frontmost app. The workflow uses the [Loripsum.net](https://loripsum.net) API to generate the text.

Other options include choosing the number of paragraphs and pasting plain text instead of HTML. You can also access all the parameters of the API for further customization.

## Commands
| | |
|--|--|
|`li`|Generates two paragraphs of lorem ipsum text wrapped in `<p>` tags|
|`li #`|Enter a number to generate a specific amount of paragraphs wrapped in `<p>` tags (i.e., `li 3` will return three paragraphs)|
|`li/li #` + `Cmd`|Using the `Cmd` modifier will return the default or requested number of paragraphs in plain text|
|`li` + `Ctl`|Typing `li` plus the `Ctl` modifier will open an Alfred Text View with a list of all the [Loripsum.net](https://loripsum.net) API modifiers. Update the URL accordingly and press `Enter` to generate your code (modifiers include paragraph length and HTML markup snippets)|

## Credits
- [Loripsum.net](https://loripsum.net)
- [Inscription](https://icons8.com/icon/rvCy4MQeqqcx/inscription) icon by [Icons8](https://icons8.com).

0 comments on commit ded6bdd

Please sign in to comment.