You can import code snippets from existing files via following syntax:
```md
```md
<<<@/filepath
```
It also supports [line highlighting](#line-highlighting-in-code-blocks):
```md
```md
<<<@/filepath{highlightLines}
```
**Input**
```md
```md
<<<@/snippets/snippet.js{2}
```
@ -368,7 +368,7 @@ You can also use a [VS Code region](https://code.visualstudio.com/docs/editor/co
**Input**
```md
```md
<<<@/snippets/snippet-with-region.js{1}
```
@ -388,7 +388,6 @@ You can also use a [VS Code region](https://code.visualstudio.com/docs/editor/co
<!--lint enable strong-marker-->
## Advanced Configuration
VitePress uses [markdown-it](https://github.com/markdown-it/markdown-it) as the Markdown renderer. A lot of the extensions above are implemented via custom plugins. You can further customize the `markdown-it` instance using the `markdown` option in `.vitepress/config.js`: