Skip to content

Some lines are not highlighted #3517

@BashkirovN

Description

@BashkirovN

Information

  • Language: typescript, svelte
  • Plugins: Line Highlight

Description
I'm using 10-line code slices and wanted to set an offset and highlight certain lines. It works fine until I need to highlight a line number greater than 10, then the line doesn't get highlighted.

For example,
<pre data-line-offset={6} data-line={'9-12'} ...></pre>
would highlight lines 9 and 10 but not 11 and 12

Line numbers that are greater than the snippet length are not highlighted.

Screen Shot 2022-08-13 at 8 15 23 PM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions