From f60d344621a47726da7b9fbe7163b2a3fbc3f9ff Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 15 Feb 2023 23:32:13 +0100 Subject: Fix tutorial previews --- docs/src/tutorial/4-template.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'docs/src/tutorial/4-template.md') diff --git a/docs/src/tutorial/4-template.md b/docs/src/tutorial/4-template.md index 6b176d32..7ecec0d1 100644 --- a/docs/src/tutorial/4-template.md +++ b/docs/src/tutorial/4-template.md @@ -125,7 +125,10 @@ previous chapter. columns(2, doc) } -#show: doc => conf([Paper title], doc) +#show: doc => conf( + [Paper title], + doc, +) = Introduction #lorem(90) @@ -256,7 +259,7 @@ adding an import before the show rule. Name the function that you want to import from another file between the `{import}` and `{from}` keywords and specify the path of the file after the `{from}` keyword. -```example +```example:single >>> #let conf( >>> title: none, >>> authors: (), -- cgit v1.2.3