diff --git a/docs/api/index.md b/docs/api/index.md index ec3fbfd..ec13ce2 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -310,7 +310,7 @@ The right one determines whether the result of the left one should be output or --- -#### CSS expressions `class="{'urgent':msg.urgency, msg.category}"` or compound expressions +#### CSS expressions `class="{msg.category} {{'urgent':msg.urgency}}"` or compound expressions You can combine several expressions into one expression statement using the comma; note that there is only one pair of braces which is for the compound expression, subexpressions being delimited by commas. @@ -319,7 +319,7 @@ The results of the expressions will be concatenated with a single white space be Because of the space which always gets _inserted between the expressions_, it does not suit all use cases. However, this is perfect to define the `class` attribute of a HTML element for instance. ```cs -
+
``` ## Modifiers diff --git a/docs/index.md b/docs/index.md index 33b225d..a328681 100644 --- a/docs/index.md +++ b/docs/index.md @@ -21,7 +21,7 @@ Hashspace turns static HTML pages into dynamic templates with the help of a few {if tasklist.length > 0}