Skip to content

Commit 5709c66

Browse files
committed
fix bug
1 parent dff8106 commit 5709c66

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

docs/global-settings.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ Like Beamer, Touying helps you better maintain global information through a unif
3838

3939
You can set the title, subtitle, author, date, and institution information of your slides with:
4040

41-
```typst
42-
#let s = (s.methods.info)(
43-
self: s,
41+
```typc
42+
config-info(
4443
title: [Title],
4544
subtitle: [Subtitle],
4645
author: [Authors],

i18n/zh/docusaurus-plugin-content-docs/current/global-settings.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ config-methods(
3939

4040
你可以通过
4141

42-
```typst
43-
#let s = (s.methods.info)(
44-
self: s,
42+
```typc
43+
config-info(
4544
title: [Title],
4645
subtitle: [Subtitle],
4746
author: [Authors],

i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/global-settings.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ config-methods(
3939

4040
你可以通过
4141

42-
```typst
43-
#let s = (s.methods.info)(
44-
self: s,
42+
```typc
43+
config-info(
4544
title: [Title],
4645
subtitle: [Subtitle],
4746
author: [Authors],

versioned_docs/version-0.5.x/global-settings.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ Like Beamer, Touying helps you better maintain global information through a unif
3838

3939
You can set the title, subtitle, author, date, and institution information of your slides with:
4040

41-
```typst
42-
#let s = (s.methods.info)(
43-
self: s,
41+
```typc
42+
config-info(
4443
title: [Title],
4544
subtitle: [Subtitle],
4645
author: [Authors],

0 commit comments

Comments
 (0)