Fix template tutorial examples

This commit is contained in:
Laurenz 2023-02-16 22:37:56 +01:00
parent 67b4540397
commit 80e73979f3

View File

@ -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)
>>> ]),
>>> )