README.md in sablon-0.2.1 vs README.md in sablon-0.3.0
- old
+ new
@@ -293,9 +293,21 @@
«body:if(present?)»
... arbitrary document markup ...
«body:endIf»
```
+Finally, you can also mix in `elsif` and `else` clauses as well.
+
+```
+«body:if(present?)»
+ ... arbitrary document markup ...
+«body:elsif(nil?)»
+ ... arbitrary document markup ...
+[additional elsif blocks...]
+«body:else»
+ ... arbitrary document markup ...
+«body:endIf»
+```
#### Loops
Loops repeat parts of the document.