We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fenced code blocks, the highlight shortcode, and the transform.Highlight function allow you to set lineNos to true, false, inline, or table.
lineNos
true
false
inline
table
But you can't use the last two in your site configuration.
It would be helpful if the options were consistent everywhere we use and document them:
The text was updated successfully, but these errors were encountered:
markup/highlight: Allow cfg.LineNos to be true, false, "inline", or "…
c08dabc
…table" Closes gohugoio#13481
jmooring
No branches or pull requests
Fenced code blocks, the highlight shortcode, and the transform.Highlight function allow you to set
lineNos
totrue
,false
,inline
, ortable
.But you can't use the last two in your site configuration.
It would be helpful if the options were consistent everywhere we use and document them:
The text was updated successfully, but these errors were encountered: