From 5ac7eb3860ebd3247f6486c227e816894cb8fd91 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 11 Mar 2022 12:59:55 +0100 Subject: Rename template to content --- tests/typ/code/block.typ | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/typ/code/block.typ') 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 -- cgit v1.2.3