fix(typst article): update the syntax to be consistent with the repository

This commit is contained in:
Fabrice Mouhartem 2025-02-14 12:45:39 +01:00
parent 1eed4d7ca3
commit 957c8e2ed1
Signed by: fmouhart
GPG Key ID: 2C5033B228CFE4E7

View File

@ -1,7 +1,7 @@
--- ---
Title: Typesetting with Typst Title: Typesetting with Typst
Date: 2024-10-19 18:00 Date: 2024-10-19 18:00
Modified: 2024-10-19 21:00 Modified: 2025-02-14 12:45
Lang: en Lang: en
Author: Fabrice Author: Fabrice
Category: software Category: software
@ -126,7 +126,7 @@ at the outset of the file.
```typst ```typst
#import "lettre.typ": * #import "lettre.typ": *
#show: doc => lettre( #show: doc => lettre.with(
de: [ de: [
Sender\ Sender\
Address Address
@ -144,7 +144,6 @@ at the outset of the file.
post: [ post: [
post-letter (e.g., post-scriptum) post-letter (e.g., post-scriptum)
], ],
doc
) )
``` ```