How to use line numbers with code highlighting? #2170
Unanswered
thomase1993
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I read the guide at https://wowchemy.com/docs/content/writing-markdown-latex/#code-highlighting but there isn't an option to enable line numbers. Is this feature available?
I used the helpe
{{< highlight go "linenos=table,hl_lines=8 15-17,linenostart=199" >}}
from https://gohugo.io/content-management/syntax-highlighting/ as workaround.Beta Was this translation helpful? Give feedback.
All reactions