You can change text styles such as Bold, color, font size etc in a single layer without having to create multiple layers with conditional rendering.
Using rich text formatting
Highlight the portion of text you want to style. Then select the style to apply.
Using rich text formatting with feeds and macros
To use the new text formatting capabilities in conjunction with macros, highlight text between the liquid template delimiters (
}}) and change the style.
For example, if you have a macro that spans multiple lines, highlight any section of the macro and the editor will do all the heavy lifting for you.
- Expressions must not contain line breaks.
- If you use assignment variables, apply the text formatting to the assignment expression.
- Apply the text formatting to the entire expression. Even with "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.