mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
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…
x
Reference in New Issue
Block a user