aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index fffa92d..71d6773 100644
--- a/README.md
+++ b/README.md
@@ -65,6 +65,15 @@ interpreted as the tag content.
All material that is not a tag or attribute keyword is an evaluated Lisp
expression, so no special syntax is needed to indicate evaluation.
+When the value of an attribute is given as a Lisp expression, that
+value is interpolated automatically into the generated attribute
+syntax.
+
+In the interior of a tag, when a Lisp expression is evaluated, its
+value is **not** turned into output. It is that expression's
+responsibility to generate output, either directly to the HTML
+stream object, or via the convenient local macros like `fmt`,
+`esc` or `str`.
## Documentation