diff --git a/v3/bootstrap/Doc/Macros.md b/v3/bootstrap/Doc/Macros.md index bb5a5c9..607b92f 100755 --- a/v3/bootstrap/Doc/Macros.md +++ b/v3/bootstrap/Doc/Macros.md @@ -7,6 +7,8 @@ Any macro can be used in any of the two forms, either _inline_ or _HTML-like_. Inline: ``` @macro-name(value) + +@macro-name(value text=" ...text... ") ``` HTML-style: @@ -27,6 +29,28 @@ The two forms exist to fill two distinct functions: - html-like: element-like, simpler when dealing with html +### Positional and keyword attributes + +Attributes (arguments) can be set sequentially by value, as they are +defined or by name in any order. + +The following are equivalent: +``` + + + +``` + +Keyword attributes are special attributes that are given by name rather +than by value by default and if no value is set explicitly it defaults +to `true` if passed, and to false if omitted. + +The following are equivalent: +``` +