summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-16 22:37:56 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-16 22:37:56 +0100
commit80e73979f3c1f22e1ed6c40df6a986f2a10d94b9 (patch)
tree2b5829e6a26debbdc64a2faf3ec9cd859b4ccaee
parent67b45403975ba89150d17356dfbcad3e2ed18391 (diff)
Fix template tutorial examples
-rw-r--r--docs/src/tutorial/4-template.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/src/tutorial/4-template.md b/docs/src/tutorial/4-template.md
index 7ecec0d1..61116a7e 100644
--- a/docs/src/tutorial/4-template.md
+++ b/docs/src/tutorial/4-template.md
@@ -233,8 +233,8 @@ The resulting template function looks like this:
columns: (1fr,) * ncols,
row-gutter: 24pt,
..authors.map(author => [
- {author.name} \
- {author.affiliation} \
+ #author.name \
+ #author.affiliation \
#link("mailto:" + author.email)
]),
)
@@ -311,8 +311,8 @@ path of the file after the `{from}` keyword.
>>> columns: (1fr,) * count,
>>> row-gutter: 24pt,
>>> ..authors.map(author => [
->>> {author.name} \
->>> {author.affiliation} \
+>>> #author.name \
+>>> #author.affiliation \
>>> #link("mailto:" + author.email)
>>> ]),
>>> )