summaryrefslogtreecommitdiff
path: root/doc/concepts/expressions.md
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-04-14 12:55:12 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-04-14 13:02:45 +0200
commit629df017d74734e93e2b63a1bb4b7819a34a1c9f (patch)
tree3c16b58c162a08b3ffda718aa183e2e42442aa6d /doc/concepts/expressions.md
parentc7216ce1da69f3fdbd2e577113c0a15a7dd41130 (diff)
downloadjustbuild-629df017d74734e93e2b63a1bb4b7819a34a1c9f.tar.gz
clean up markdown in tutorial and concepts
... and ensure that pandoc processes them correctly. In particular, add an empty line around itemize environments.
Diffstat (limited to 'doc/concepts/expressions.md')
-rw-r--r--doc/concepts/expressions.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/concepts/expressions.md b/doc/concepts/expressions.md
index 74058f84..5d12d8d2 100644
--- a/doc/concepts/expressions.md
+++ b/doc/concepts/expressions.md
@@ -84,6 +84,7 @@ and `null` otherwise.
The value is the value of the key `"$1"` uninterpreted but replacing
all outermost maps having a key `"type"` with the value either
`","` or `",@"` in the following way.
+
- If the value for the key `"type"` is `","`, the value for the
key `"$1"` (or `null` if there is no key `"$1"`) is evaluated
and the map is replaced by the value of that evaluation.
@@ -94,6 +95,7 @@ all outermost maps having a key `"type"` with the value either
that list (i.e., the list obtained by evaluating the value for
`"$1"`) are inserted (not the list itself) into the surrounding
list replacing that map.
+
For example, ``{"type": "`", "$1": [1, 2, {"type": ",@", "$1": [3, 4]}]}``
evaluates to `[1, 2, 3, 4]` while
``{"type": "`", "$1": [1, 2, {"type": ",", "$1": [3, 4]}]}``