From 4ec419033949065a33d8f655b71bb51f924d5430 Mon Sep 17 00:00:00 2001 From: OrangeX4 <318483724@qq.com> Date: Tue, 3 Sep 2024 04:18:51 +0800 Subject: [PATCH] fix --- docs/code-styles.md | 2 +- versioned_docs/version-0.5.x/code-styles.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/code-styles.md b/docs/code-styles.md index 3b96be411..080b7e61e 100644 --- a/docs/code-styles.md +++ b/docs/code-styles.md @@ -52,7 +52,7 @@ Hello, Typst! ## Block Style -Many times, using only the simple style cannot achieve all the functions we need. For more powerful functions and clearer structure, we can also use the block style in the form of `#slide[...]`, where the `#slide` function needs to be unpacked using the syntax `#let (slide, empty-slide) = utils.slides(s)` to be used normally after `#show: slides`. +Many times, using only the simple style cannot achieve all the functions we need. For more powerful functions and clearer structure, we can also use the block style in the form of `#slide[...]`. For example, the above example can be transformed into diff --git a/versioned_docs/version-0.5.x/code-styles.md b/versioned_docs/version-0.5.x/code-styles.md index 3b96be411..080b7e61e 100644 --- a/versioned_docs/version-0.5.x/code-styles.md +++ b/versioned_docs/version-0.5.x/code-styles.md @@ -52,7 +52,7 @@ Hello, Typst! ## Block Style -Many times, using only the simple style cannot achieve all the functions we need. For more powerful functions and clearer structure, we can also use the block style in the form of `#slide[...]`, where the `#slide` function needs to be unpacked using the syntax `#let (slide, empty-slide) = utils.slides(s)` to be used normally after `#show: slides`. +Many times, using only the simple style cannot achieve all the functions we need. For more powerful functions and clearer structure, we can also use the block style in the form of `#slide[...]`. For example, the above example can be transformed into