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

Line Numbers Only for some Code Blocks #1256

Closed
brc-dd opened this issue Aug 30, 2022 Discussed in #1255 · 0 comments · Fixed by #1733
Closed

Line Numbers Only for some Code Blocks #1256

brc-dd opened this issue Aug 30, 2022 Discussed in #1255 · 0 comments · Fixed by #1733
Labels
build Related to the build system enhancement New feature or request

Comments

@brc-dd
Copy link
Member

brc-dd commented Aug 30, 2022

Discussed in #1255

Originally posted by akil-rails August 30, 2022
Currently there is a global configuration to display Line numbers in all code blocks: https://vitepress.vuejs.org/guide/markdown#line-numbers

It will be great to have line numbers only for some code blocks, and not for all.

In certain cases (like for example) the code block is showing a sample message; which doesn't need line numbers.

@brc-dd brc-dd added enhancement New feature or request build Related to the build system labels Aug 30, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build Related to the build system enhancement New feature or request
Projects
None yet
1 participant