Output

Hello User!

About the playground

All messages written in the Message field are formatted using the data written in the Data field. This formatting happens locally, using the locale selected in the dropdown.

For more information on MessageFormat 2, please refer to the quick start guide.

Functions

All built-in MessageFormat 2 functions are supported: string, number, integer, datetime, date, and time.

Markup

MessageFormat 2 does not have built-in markup tags. The playground however supports five markup tags that can be used to try out markup.

TagDescription
boldMake the contained message bold.
italicMake the contained message italic.
errorMake the contained look errored.
linkAdd a link, pointing to the url option.
star-iconDisplay a star icon (⭐).

Markup tags must be balanced.