From 629df017d74734e93e2b63a1bb4b7819a34a1c9f Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 14 Apr 2025 12:55:12 +0200 Subject: clean up markdown in tutorial and concepts ... and ensure that pandoc processes them correctly. In particular, add an empty line around itemize environments. --- doc/concepts/expressions.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/concepts/expressions.md') 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]}]}`` -- cgit v1.2.3