diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-03-11 12:59:55 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-03-11 23:36:06 +0100 |
| commit | 5ac7eb3860ebd3247f6486c227e816894cb8fd91 (patch) | |
| tree | a29a868c681c7de39f15f2d9d3f031db1861b90a /tests/typ/code/block.typ | |
| parent | 5ce2a006b6d45d29be15e4562ae3ab4fc1b8e97c (diff) | |
Rename template to content
Diffstat (limited to 'tests/typ/code/block.typ')
| -rw-r--r-- | tests/typ/code/block.typ | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/code/block.typ b/tests/typ/code/block.typ index 9122ea48..194cde7a 100644 --- a/tests/typ/code/block.typ +++ b/tests/typ/code/block.typ @@ -11,7 +11,7 @@ for s in parts [{s}] } -// Evaluates to join of the templates and strings. +// Evaluates to join of the content and strings. { [How] if true { @@ -52,13 +52,13 @@ // Some things can't be joined. { [A] - // Error: 3-4 cannot join template with integer + // Error: 3-4 cannot join content with integer 1 [B] } --- -// Block directly in template also creates a scope. +// Block directly in markup also creates a scope. { let x = 1 } // Error: 7-8 unknown variable @@ -103,7 +103,7 @@ } --- -// Template also creates a scope. +// Content blocks also create a scope. [#let x = 1] // Error: 2-3 unknown variable |
