You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: