-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Describe the bug
在vite中支持将代码块中的vue语法进行处理,但是插件好像没有处理
vitepress文档地址:https://vitepress.dev/guide/using-vue#unescape-in-code-blocks

Reproduction
<script setup> const a = '{ "b": 1 }' </script> {{ 1 + 1 }} {{ a }} ```js-vue Hello {{ 1 + 1 }} ```System Info
System:
OS: macOS 12.4
CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
Memory: 28.14 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.20.1 - ~/.nvm/versions/node/v16.20.1/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.19.4 - ~/.nvm/versions/node/v16.20.1/bin/npm
pnpm: 8.5.1 - ~/Documents/Codes/santi/templates/noob_basic_template/node_modules/.bin/pnpm
Watchman: 2023.09.04.00 - /usr/local/bin/watchman
Browsers:
Chrome: 119.0.6045.199
Safari: 15.5Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Metadata
Metadata
Assignees
Labels
No labels

