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.
This commit is contained in:
Hofer-Julian 2023-12-13 11:58:14 +01:00 committed by GitHub
parent 5eedff8667
commit f17208a5a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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).