Update README
This commit is contained in:
parent
a170c58530
commit
6abb647246
1 changed files with 5 additions and 3 deletions
|
@ -39,10 +39,12 @@ HSX allows embedding Common Lisp code directly within your HTML structure, makin
|
||||||
(div
|
(div
|
||||||
(p :id (format nil "id-~a" (random 100)))
|
(p :id (format nil "id-~a" (random 100)))
|
||||||
(ul
|
(ul
|
||||||
(loop :for i :from 1 :to 5 :collect (li (format nil "Item ~a" i))))
|
(loop
|
||||||
|
:for i :from 1 :to 5 :collect
|
||||||
|
(hsx (li (format nil "Item ~a" i)))))
|
||||||
(if (> (random 10) 5)
|
(if (> (random 10) 5)
|
||||||
(p "Condition met!")
|
(hsx (p "Condition met!"))
|
||||||
(p "Condition not met!"))))
|
(hsx (p "Condition not met!")))))
|
||||||
```
|
```
|
||||||
|
|
||||||
This might generate:
|
This might generate:
|
||||||
|
|
Loading…
Reference in a new issue