Wrap lines in Code Block and adjust line numbers to reflect wrapping? #3541
Unanswered
Stephen-Gates
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Good question. It's definitely an upstream issue as I'm sure it happens with any theme. Probably related to SuperFences or the Highlight extension. |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
Is there a way to mimic this code formatting where if a line wraps, the line number is not incremented? See line 64.
I've used CSS to get close but am not sure how to adjust line numbering
Line 106 is the equivalent to L64 above, but you can see the Line number has been incremented, rather than shown as a dot •
I suspect this is an upstream issue and not for Material for MkDocs but thought I'd ask here in hope.
Beta Was this translation helpful? Give feedback.
All reactions