27/9/2022 - We are gradually rolling out the feature to everyone. Check with your CSM if your company has been enrolled.
We recently revamped our text formatting capabilities to allow multiple styles in a single text layer. This means that you can now change text styles such as Bold, color, font size etc in a single layer without having to create multiple layers with conditional rendering to retain branding consistency.
Using the feature is easy. All you have to do is to highlight the portion of text you want to style select the style to apply and viola! 🎉
Using Data from Feed
It is also possible to use the new text formatting capabilities in conjunction with macros. Just highlight any portion between the liquid template delimiters (
}}) and change the desired style.
For example, if you have a macro that spans multiple lines, just highlight any section of the macro and the editor will do all the heavy lifting for you.
Please keep in mind that:
- Expressions must not contain line breaks;
- If using assignment variables, text formatting needs to be applied to the assignment expression;
- Text formatting needs to be applied to the entire expression, even in cases of "if-else statements" the entire expression needs to use the same style;
At the current moment, all newly created templates will have the new text formatting capabilities. Existing templates, however, will need to be cloned to access the feature. A migration is planned for existing templates, so stay tuned for updates.