Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeX4 authored Jul 24, 2024
1 parent a1f748a commit 44d2767
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/chinese.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,16 @@ PS: 例子来源于 [Myriad-Dreamin](https://github.com/Myriad-Dreamin)

注意,由于 `display` 也是一个函数,所以在其内部的逗号 `,` 要进行转义 `\,`

每次都要手动打 `display` 感觉很麻烦,我们可以默认自动加上:
每次都要手动打 `display` 感觉很麻烦,我们可以

```example
#show math.equation.where(block: false): math.display
#show math.equation.where(block: false): it => {
if it.has("label") and it.label == label("displayed-inline-math-equation") {
it
} else {
[$display(it)$<displayed-inline-math-equation>]
}
}
行内数学公式(展示模式) $integral x dif x$
```
Expand Down

0 comments on commit 44d2767

Please sign in to comment.