8000 Skip some code blocks · Issue #66 · wcoder/highlightjs-line-numbers.js · GitHub
[go: up one dir, main page]

Skip to content
Skip some code blocks #66
Closed
Closed
@peske

Description

@peske

Is your feature request related to a problem? Please describe.
In some cases, I don't want all the code blocks on a page to be numbered. Although it is currently possible by using block-by-block initialization (hljs.lineNumbersBlock(block)), it would be great if somehow I can mark code blocks to be skipped even with hljs.initLineNumbersOnLoad() initialization.

Describe the solution you'd like
A custom class that can be set to <code> element, marking it for skipping.

Describe alternatives you've considered
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0