Skip to content

Line Numbers Only for some Code Blocks #1256

@brc-dd

Description

@brc-dd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildRelated to the build system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions