Skip to main content
Create the CookingInstructions block to combine the cooking instructions and the number of servings into a single output region.
1

Open the FlexiLayout tab

Click the FlexiLayout tab in the FlexiLayout Studio main window.
2

Select the Blocks object

Select the Blocks object in the FlexiLayout tree.
3

Add a text block

Select Blocks → Add Block → Text in the FlexiLayout menu or the shortcut menu.
4

Name the block

In the Properties dialog box, enter the block name CookingInstructions in the Name field.
5

Set the location method

Select Expression to describe the block location.
6

Enter the block expression

Describe the block location so that it includes only the cooking instructions and the number of servings, and excludes unwanted text (any text that may precede the word Serves). Describe the block as a collection of rectangles around the CookingDescription, Serves, and Servings elements. This method lets you specify non-rectangular regions.In the FlexiLayout language, write this: