wcoder/highlightjs-line-numbers.js

Support version(s) is undocumented

clach04 opened this issue · 2 comments

Describe the bug
Readme does not document the known working versions of highlightjs.

Implications of this is that it is not clear that highlight.js 11.3.1 does not work with highlightjs-line-numbers.js 2.6.0

From looking at the demo https://wcoder.github.io/highlightjs-line-numbers.js/ it looks like highlightjs-line-numbers.js 2.6.0 works with highlight.js 8.6

Additional context
Add any other context about the problem here.

hljs.initHighlightingOnLoad();  // Deprecated as of 10.6.0. initHighlightingOnLoad() deprecated.  Use highlightAll()

I had a quick play and was able to get current versions as of 2021 to work :)

clach04@2563e18

highlightjs-line-numbers.js 2.8.0 working with highlight.js 11.3.1

Docs, samples and demo were updated
@clach04 thanks!