Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report] @vuepress/plugin-shiki when using diff notations, whether to enable line numbers affects the rendering effect #212

Closed
typed-sigterm opened this issue Jun 30, 2024 · 0 comments · Fixed by #214
Labels
bug Something isn't working

Comments

@typed-sigterm
Copy link

Description

Only when line numbers are enabled, there is space between the notations + - and the code.

Reproduction

https://stackblitz.com/edit/vuepress-demo-13c7c4e?file=docs%2FREADME.md

Used Package Manager

npm

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (6) x64 AMD Ryzen 5 4500U with Radeon Graphics
    Memory: 1022.00 MB / 7.23 GB
  Binaries:
    Node: 20.10.0 - C:\nodejs\node.EXE
    Yarn: 1.22.22 - ~\AppData\Local\pnpm\yarn.CMD
    npm: 10.2.3 - C:\nodejs\npm.CMD
    pnpm: 9.1.0 - ~\AppData\Local\pnpm\pnpm.CMD
    bun: Not Found
  Utilities:
    Git: 2.37.3.
  Browsers:
    Chrome: Not Found
    Edge: Chromium (126.0.2592.81), ChromiumDev (127.0.2610.3)
  npmPackages:
    @vuepress/bundler-vite: 2.0.0-rc.14 => 2.0.0-rc.14
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli: Not Found
    @vuepress/client: Not Found
    @vuepress/core: Not Found
    @vuepress/markdown: Not Found
    @vuepress/shared: Not Found
    @vuepress/utils: Not Found
    vue: ^3.4.29 => 3.4.31
    vue-router: Not Found
    vuepress: 2.0.0-rc.14 => 2.0.0-rc.14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants