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.
All built-in MessageFormat 2 functions are supported: string
, number
, integer
, datetime
, date
, and time
.
MessageFormat 2 does not have built-in markup tags. The playground however supports five markup tags that can be used to try out markup.
Tag | Description |
---|---|
bold | Make the contained message bold. |
italic | Make the contained message italic. |
error | Make the contained look errored. |
link | Add a link, pointing to the url option. |
star-icon | Display a star icon (⭐). |
Markup tags must be balanced.