summaryrefslogtreecommitdiff
path: root/docs/src/tutorial/4-template.md
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-15 23:32:13 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-15 23:32:13 +0100
commitf60d344621a47726da7b9fbe7163b2a3fbc3f9ff (patch)
tree5d6d6d2dc3f66b456eb20b597e276cebcd929465 /docs/src/tutorial/4-template.md
parent310c229c610654b6370157b605086a9daa977a96 (diff)
Fix tutorial previews
Diffstat (limited to 'docs/src/tutorial/4-template.md')
-rw-r--r--docs/src/tutorial/4-template.md7
1 files changed, 5 insertions, 2 deletions
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: (),