Skip to content

Commit

Permalink
update peipei typst
Browse files Browse the repository at this point in the history
  • Loading branch information
PeiPei233 committed Dec 13, 2023
1 parent a7b196a commit 3ab6d50
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/PeiPei/typst.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,17 @@ show raw.where(block: true): it => {
}
```

另外 `terms` 如果设置了首行缩进会有一些问题,所以在 `terms` 块里要取消缩进,例如:

```typ
show terms: it => {
set par(first-line-indent: 0pt)
set terms(indent: 10pt, hanging-indent: 9pt)
it
fake-par
}
```

### 代码块显示行号:

```typ
Expand Down

0 comments on commit 3ab6d50

Please sign in to comment.