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
hugo v0.140.2-aae02ca612a02e085c08366a9c9279f4abb39d94+extended linux/amd64 BuildDate=2024-12-30T15:01:53Z VendorInfo=gohugoio
go version go1.23.5 linux/amd64
v18.18.1
Debian GNU/Linux amd64
When using line numbers in code blocks like this:
```python { linenos=true, linenostart=1 } s = "Python syntax highlighting" print s ```
I would expect that
elements.md
{ linenos=true, linenostart=1 }
hugo serve
No response
First of all: thanks for this great template. I really like it a lot! 👍😄
Here is a screenshot of line numbers enabled:
The same snippet without line numbers enabled:
The text was updated successfully, but these errors were encountered:
Just found out how to fix this issue: #171.
Sorry, something went wrong.
No branches or pull requests
What is your Hugo Extended Version
hugo v0.140.2-aae02ca612a02e085c08366a9c9279f4abb39d94+extended linux/amd64 BuildDate=2024-12-30T15:01:53Z VendorInfo=gohugoio
What is your Go Version
go version go1.23.5 linux/amd64
What is your Node.js Version
v18.18.1
What is your Operating System
Debian GNU/Linux amd64
Check for Existing Issues
Expected Behavior
When using line numbers in code blocks like this:
I would expect that
Steps to Reproduce
elements.md
file and enable line numbers for code blocks by adding{ linenos=true, linenostart=1 }
to their headers.hugo serve
.Code Reproduction URL
No response
Additional Information
First of all: thanks for this great template. I really like it a lot! 👍😄
Here is a screenshot of line numbers enabled:
The same snippet without line numbers enabled:
The text was updated successfully, but these errors were encountered: