Add list elements

Takes text, splits it by new lines, and adds an asterisk and a space before each for pasting as a list in Markdown-compatible apps.

Actions Used

shortcuts-action-icon-copy-to-clipboard.webp
Copy to Clipboard
Copies the result of the last action to the clipboard.
shortcuts-action-icon-repeat-with-each.webp
Repeat with Each
Takes a list of items as input, and runs the contained actions once for each item in the list.
shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
shortcuts-action-icon-split-text.webp
Split Text
Separates text passed into the action into a list.
shortcuts-action-icon-text.webp
Text
Passes the specified text to the next action.
shortcuts-action-icon-show-notification.webp
Show Notification
Displays a local notification.
action-icon-ask-for-input.webp
Ask for Input
Prompts the user to enter a piece of information.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Add%20list%20elements
Open Shortcut deep link
shortcuts://open-shortcut?name=Add%20list%20elements
AppleScript code
tell application “Shortcuts Events” run shortcut “Add list elements” end tell

More From This Folder

More From The Library

Open Developer TV

Opens the Apple Developer app for Apple TV so you can view bookmarks, browse presentations, and search for topics. When run from Mac, maximizes the window to Full Screen.

Get Shortcut »


Get way deeper into Shortcuts – become a member.