Closed pnowy closed 6 years ago
Hi @pnowy, thanks for the contribution!
But it is common behavior of highlight.js
code
</code>
</pre>
For fix, use that:
code</code></pre>
So I think this functionality not need.
Well - this is sometimes not possible (with pages the highlighjs is enabled and you want to enable the line numbers too) so optional check in my option it is a good think ...
Anyway - usefult plugin, I could always make a fork 😄
I've noticed sometimes there is a problem with additional empty line (which doesn't exist on the source code). Example from Jekyll where I use highligth.js with line-numbers:
This PR fix the problem.