-
How to display line numbers in code block? |
Beta Was this translation helpful? Give feedback.
Answered by
Lruihao
Aug 4, 2024
Replies: 1 comment
-
[markup]
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)
[markup.highlight]
########## necessary configurations ##########
# https://github.com/hugo-fixit/FixIt/issues/43
codeFences = true
lineNos = true
lineNumbersInTable = true
noClasses = false
########## necessary configurations ##########
guessSyntax = true or [markup]
[markup.highlight]
_merge = 'shallow' |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Lruihao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
or