mirror of https://github.com/stelzo/typst.git
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:
parent
5eedff8667
commit
f17208a5a2
|
|
@ -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.
|
positional argument and an optional caption as a named argument.
|
||||||
|
|
||||||
Within the argument list of the `figure` function, Typst is already in code
|
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
|
The hash is only needed directly in markup (to disambiguate text from function
|
||||||
calls).
|
calls).
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue