Skip to content

Highlight result of line numbers rendering like highlight js lib #84

Open
@Smascer

Description

@Smascer

Highlight.js lib gives you a stream with the option to react when highlighting is finished.
It would be nice to have same feature with the line numbers lib. Because when HighlightResult is coming, line numbers still not finished at this moment and it is not possible to react correctly e.g. to use css selectors to jump to some line or to highlight background.
Css selecteros like (.hljs-ln-line[data-line-number="55"]) can be used only when rendering is fully finished, but there is no event to catch this moment.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions