We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Assume we have below code:
:::tip ```html{1} <div class="grid-row grid-cols-2 justify-items-stretch"> <div></div> <div></div> </div> :::
With above code we get code block rendered like below:
Above code (code block with highlighted lines in custom block)
It should highlight full line
System: OS: Linux 5.15 Ubuntu 22.04 LTS 22.04 LTS (Jammy Jellyfish) CPU: (16) x64 AMD Ryzen 7 3700X 8-Core Processor Memory: 9.52 GB / 15.57 GB Container: Yes Shell: 0.12.1 - /home/jd/.xonsh/.venv/bin/xonsh Binaries: Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node Yarn: 1.22.18 - ~/.nvm/versions/node/v16.14.2/bin/yarn npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm Browsers: Chrome: 101.0.4951.64 npmPackages: vitepress: 1.0.0-alpha.4 => 1.0.0-alpha.4
None
The text was updated successfully, but these errors were encountered:
Probably need to change this:
vitepress/src/client/theme-default/styles/components/vp-doc.css
Line 225 in 1daeaa1
background-color: transparent;
Sorry, something went wrong.
fix: line highlighting in custom code block (#959) (#969)
7a9e4d9
Successfully merging a pull request may close this issue.
Describe the bug
Assume we have below code:
With above code we get code block rendered like below:
Reproduction
Above code (code block with highlighted lines in custom block)
Expected behavior
It should highlight full line
System Info
Additional context
None
Validations
The text was updated successfully, but these errors were encountered: