Skip to content

Commit f8fe3ae

Browse files
committed
docs: fix typo
1 parent f142543 commit f8fe3ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: docs/guide/markdown.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ It also supports [line highlighting](#line-highlighting-in-code-blocks):
587587

588588
**Output**
589589

590-
<<< @/snippets/snippet.js
590+
<<< @/snippets/snippet.js{2}
591591

592592
::: tip
593593
The value of `@` corresponds to the source root. By default it's the VitePress project root, unless `srcDir` is configured. Alternatively, you can also import from relative paths:

Diff for: docs/zh/guide/markdown.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ const line4 = 'This is line 4'
593593

594594
**输出**
595595

596-
<<< @/snippets/snippet.js
596+
<<< @/snippets/snippet.js{2}
597597

598598
::: tip
599599
`@` 的值对应于源代码根目录,默认情况下是 VitePress 项目根目录,除非配置了 `srcDir`。或者也可以从相对路径导入:

0 commit comments

Comments
 (0)