Quantcast
Channel: Line numbers could not be displayed if both lineno and hl_lines enabled in code fence
Browsing all 4 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Line numbers could not be displayed if both lineno and hl_lines enabled in...

If both lineno and hl_lines are enabled in code fence, like this Then, the line numbers could not be displayed, I found the root cause is the display:grid setting in style, if it is deleted,...

View Article



Image may be NSFW.
Clik here to view.

Line numbers could not be displayed if both lineno and hl_lines enabled in...

This is probably caused by some conflicting CSS in your site or theme. On a site with no stylesheets, this: ```python {linenos=true,hl_lines=[3],style=pygments} for i in range(2, num): if (num % i) ==...

View Article

Line numbers could not be displayed if both lineno and hl_lines enabled in...

Yes, I’m using old Academic theme, and made some modifications. It seem there are many diffences between the html generated by that theme and Hugo tut pages. That theme use its own code highlighter...

View Article

Image may be NSFW.
Clik here to view.

Line numbers could not be displayed if both lineno and hl_lines enabled in...

Jiang_Patrick: How to config that theme to use chroma? That’s a question for the theme’s author. Read full topic

View Article
Browsing all 4 articles
Browse latest View live




Latest Images