From f17208a5a25f23d2ddadcb283c04be873c0f70d1 Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Wed, 13 Dec 2023 11:58:14 +0100 Subject: [PATCH] Clarify code mode in "Writing in Typst" (#2928) It is not optional to remove "#". You have to remove it in order to compile the document. --- docs/tutorial/1-writing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/1-writing.md b/docs/tutorial/1-writing.md index 7b42a0a42..de2af62ff 100644 --- a/docs/tutorial/1-writing.md +++ b/docs/tutorial/1-writing.md @@ -121,7 +121,7 @@ default. It's also lacking a caption. Let's fix that by using the positional argument and an optional caption as a named argument. Within the argument list of the `figure` function, Typst is already in code -mode. This means, you can now remove the hash before the image function call. +mode. This means, you now have to remove the hash before the image function call. The hash is only needed directly in markup (to disambiguate text from function calls).