Feature request: Expose line number index for color highlighting
Apostolique opened this issue · 1 comments
Apostolique commented
Feature request
What problem does this feature solve?
It makes it possible to start the lines numbers to something else than 1.
What does the proposed API look like?
Exposed in a similar way to the current line highlighting in the markdown.
How should this be implemented in your opinion?
Are you willing to work on this yourself?
I could if no one else does.
egoist commented
We are using CSS counters in saber-highlight-css:
So probably we should inline that style into this line instead:
Like this:
<span
aria-hidden="true"
class="saber-highlight-line-numbers"
style="counter-reset: linenumber 0">
And make that 0
customizable.