From 8ed593d5bfae68e6b0ee0f07980497e2684194c6 Mon Sep 17 00:00:00 2001 From: asymmetric <101816+asymmetric@users.noreply.github.com> Date: Mon, 9 Dec 2024 16:20:56 +0100 Subject: [PATCH] w-template-logic: explain % --- example/w-template-logic/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/w-template-logic/README.md b/example/w-template-logic/README.md index 8ca45311..3083f2d9 100644 --- a/example/w-template-logic/README.md +++ b/example/w-template-logic/README.md @@ -11,6 +11,8 @@ imperatively. That means that template fragments evaluate to `unit`, and the surrounding OCaml code often needs semicolons. Templates also tend to use `List.iter` rather than `List.map`. +The `%` and `<%`/`%>` syntax is documented [in the manual](https://aantron.github.io/dream/#templates). + ```ocaml let render_home tasks =