Preview is a flexible tool designed to display the output of your Shortcut.

At its most basic, you can add text and images to a variable and then feed that variable into the Preview tool. The text and images will be displayed in the Toolbox Pro app, taking advantage of light or dark mode as well as dynamic text sizing.

You can change the styling of the page using the parameters within the tool.

You can also use the markup below to specify styling or add interactive elements, like maps or URL previews. Download the Preview Demo tool to see how it works.

TEXT STYLING

Large Title

Title

Headline

^ Subheadline ^^ Caption

BUTTONS

Button 1 will copy the data to the clipboard and open Shortcuts:

label

Button 2 will open the given URL (if the URL is invalid, Shortcuts will open instead):

label

Button 3 will copy the data to the clipboard:

label

You can put buttons side-by-side by separating them with a |

INTERACTIVE ELEMENTS

An embedded map view can be generated from the given latitude and longitude. You can choose the size as well as whether you want to enable interactivity in the tool's parameters. The pin name below is optional.

latitude,longitude

A rich URL preview can be generated from the given URL, similar to the ones found in Messages. These are interactive - for example a YouTube video will play inline, you can Preview a Spotify or Overcast link or long press a map view for more options.

[url]