Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Jan 7, 2024
1 parent f142543 commit f8fe3ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ It also supports [line highlighting](#line-highlighting-in-code-blocks):

**Output**

<<< @/snippets/snippet.js
<<< @/snippets/snippet.js{2}

::: tip
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:
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/guide/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ const line4 = 'This is line 4'

**输出**

<<< @/snippets/snippet.js
<<< @/snippets/snippet.js{2}

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

0 comments on commit f8fe3ae

Please sign in to comment.