mirror of
https://github.com/typst/typst
synced 2025-05-13 12:36:23 +08:00
Update 1-writing.md to improve readability (#6040)
This commit is contained in:
parent
95a7e28e25
commit
1b2714e1a7
@ -172,7 +172,7 @@ nothing else.
|
|||||||
For example, the image function expects a path to an image file.
|
For example, the image function expects a path to an image file.
|
||||||
It would not make sense to pass, e.g., a paragraph of text or another image as
|
It would not make sense to pass, e.g., a paragraph of text or another image as
|
||||||
the image's path parameter. That's why only strings are allowed here.
|
the image's path parameter. That's why only strings are allowed here.
|
||||||
On the contrary, strings work wherever content is expected because text is a
|
In contrast, strings work wherever content is expected because text is a
|
||||||
valid kind of content.
|
valid kind of content.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user