highlightjs / highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.
https://highlightjs.org/
BSD 3-Clause "New" or "Revised" License
23.37k stars 3.56k forks source link

Display doesn't look correct. #4071

Open nasrin1748 opened 3 weeks ago

nasrin1748 commented 3 weeks ago

Describe the issue/behavior that seems buggy

I am trying to run the example from https://www.eddymens.com/blog/highlightjs-add-line-numbers and when I make the pre tag editable and go to the next line the display doesn't look correct.

9

Sample Code or Instructions to Reproduce

Expected behavior

I should go to the next line number.

Additional context

joshgoebel commented 3 weeks ago

Line numbers (and editability) are not features of the core library and thus unsupported here. I willl leave this open a few days to see if any volunteers might want to try to help out.