wcoder / highlightjs-line-numbers.js

Line numbering plugin for Highlight.js
https://wcoder.github.io/highlightjs-line-numbers.js/
MIT License
544 stars 126 forks source link

Start numbering from value other than 1 #67

Closed peske closed 4 years ago

peske commented 5 years ago

Is your feature request related to a problem? Please describe. In some cases, I would like to be able to specify that numbering starts from a custom value, other than 1.

Describe the solution you'd like Ability to specify an offset which should be used for particular code block.

Describe alternatives you've considered N/A

Additional context N/A

peske commented 5 years ago

Again, I've already implemented that. Here's the PR: https://github.com/wcoder/highlightjs-line-numbers.js/pull/65

I'm put-up-or-shut-up kind of guy :)

myroslambda commented 4 years ago

@wcoder Do you think this is something that could be included since there is PR already?

wcoder commented 4 years ago

@myroslambda done

Please check v2.8.0

Please reopen if you still questions.