You can use this abbreviation for the first case: ul>li{Value}*3 - you can use curly braces to insert text into elements.
However, to make the second case, you can only do this: ul>li{Value}+li{Another Value}+li{Last Value} , now there is no way to list only the values ββfor several elements.
However, if the only thing that will be different is a number (for example, the Joonas example), you can still easily reach it: ul>li{Line $}*3 - you can use $ in attributes or text nodes of abbreviations when using multipliers, and they are converted to an item counter.
kizu
source share