bennymi / svhighlight

A code syntax highlighter for Svelte using highlight.js, with line blur, highligthing, and focus buttons. The component can be easily customized with Tailwind CSS.
https://svhighlight.vercel.app
MIT License
59 stars 2 forks source link

why line numbers start with 0? #8

Open rushkii opened 4 months ago

rushkii commented 4 months ago

line numbers should not start with 0.

image

caoccao commented 2 months ago

Yes, I met the same issue. Is it possible to set the line number of the first line?