From 6abb647246b0fe900f7c7f18ee0427282586c8ff Mon Sep 17 00:00:00 2001 From: paku Date: Thu, 12 Dec 2024 13:09:51 +0900 Subject: [PATCH] Update README --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4055a2a..730e943 100644 --- a/README.md +++ b/README.md @@ -39,10 +39,12 @@ HSX allows embedding Common Lisp code directly within your HTML structure, makin (div (p :id (format nil "id-~a" (random 100))) (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) - (p "Condition met!") - (p "Condition not met!")))) + (hsx (p "Condition met!")) + (hsx (p "Condition not met!"))))) ``` This might generate: