Hello everyone!
Formally announcing the release of this feature. Some of you have already noticed and used it but we were a bit quiet about it as we wrapped up some QA tasks.
This operator can be applied to a list of things to display its content in a custom format. You can choose a delimiter for your list, and the content to show per list item. All items will share the format that you specify. For example, if you have a list of names, you can choose to display “This name” in bold with a space delimiter. This will show all the names in bold separated by a space: name1 name2 name3.
This is also useful for sending emails to your users. In the body of your email, you might format a list of Events to display start times for upcoming events. You can also add bb code to customize its appearance. For example, if you specify your content to show as “[li][b]This date[/b][/li]” and your delimiter as a line break, you can create a bolded list with bullets:
- January 1, 2021 1:00 pm
- January 1, 2021 1:00 pm
If you need to format text as a JSON to send to an external API, you may also use this operator. You can create
{
key: “value”
}
formatting for as many of the values as there are in your database. For example, you might pass a list as:
{
key: “This value’s field”
}
Then if your list contained two items, the result could look like:
{
key: “Value1’s field”
},
{
key: “Value2’s field”
}
Also note that you can use this operator in a nested fashion. As an example imagine you apply to to a list of users, with newline delimiter and content “This user’s name is friends with This user’s friends”, you can then apply ‘:format as text’ to ‘This user’s friends’ to choose how to display that list.
These are just some examples of how the feature can be used. What are some cool examples of how you’re going to use this feature? Please feel free to share here!