I like Hugo a lot. One of the few areas where I’m having trouble is the syntax highlighting.
pygmentsOptions = "linenos=table" which generates markup like this. This is a table with just one row an two columns. Each column has a pre tag inside. The first sets the line numbers, the second column adds the content.
This is often troubling me with css. For example, Chrome is displaying the first line number with some additional space.
I’d much prefer GitHub’s style. It’s using a table with a row for each line of source code. The line numbers are displayed with a css rule
Is this possible somehow?
If not, would it be feasible to implement (for me) with the current libraries Hugo is using or would this need a lot of changes all over the place?