From 4dfde01ac10669cc9b30f7b6cf27c8e8649910ab Mon Sep 17 00:00:00 2001 From: paku Date: Tue, 12 Mar 2024 15:19:46 +0900 Subject: [PATCH] Update README --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c21404d..406447b 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,10 @@ It's - Added: - React-like fragment `(<> ...)`. It lets you group elements without a wrapper element. - - Boolean attributes support (e.g. `checked`, `disabled`). For key/value pairs corresponding to boolean attributes, only the key is rendered when the value is `t`, and nothing is rendered when the value is `nil`. https://github.com/ailisp/flute/issues/11 + - Boolean attributes support (e.g. `checked`, `disabled`). If the value is + - `nil`: Nothing is rendered. + - `t`: Only the key is rendered. + - non-boolean: The key/value pair is rendered. - Improved: - Element functions are wrapped in macros for natural indentation. - Bugfix. https://github.com/ailisp/flute/issues/5, https://github.com/ailisp/flute/issues/7