mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Fix template tutorial examples
This commit is contained in:
parent
67b4540397
commit
80e73979f3
@ -233,8 +233,8 @@ The resulting template function looks like this:
|
|||||||
columns: (1fr,) * ncols,
|
columns: (1fr,) * ncols,
|
||||||
row-gutter: 24pt,
|
row-gutter: 24pt,
|
||||||
..authors.map(author => [
|
..authors.map(author => [
|
||||||
{author.name} \
|
#author.name \
|
||||||
{author.affiliation} \
|
#author.affiliation \
|
||||||
#link("mailto:" + author.email)
|
#link("mailto:" + author.email)
|
||||||
]),
|
]),
|
||||||
)
|
)
|
||||||
@ -311,8 +311,8 @@ path of the file after the `{from}` keyword.
|
|||||||
>>> columns: (1fr,) * count,
|
>>> columns: (1fr,) * count,
|
||||||
>>> row-gutter: 24pt,
|
>>> row-gutter: 24pt,
|
||||||
>>> ..authors.map(author => [
|
>>> ..authors.map(author => [
|
||||||
>>> {author.name} \
|
>>> #author.name \
|
||||||
>>> {author.affiliation} \
|
>>> #author.affiliation \
|
||||||
>>> #link("mailto:" + author.email)
|
>>> #link("mailto:" + author.email)
|
||||||
>>> ]),
|
>>> ]),
|
||||||
>>> )
|
>>> )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user