Closed klische closed 6 years ago
Hi @klische thank you for the feedback!
Interesting issue, I will think about the better solution.
I propose to set color for .hljs-ln
, because default styles of table override style-properties of .hljs
)
.hljs-ln {
color: #f8f8f2;
}
That works! Unfortunately, the spacing is ignored :( I just noticed that. It shifts everything to the left.
EDIT: Please see the screenshot: It ignores the spacing in the code segment.
Yes, you are right.
I already created the issue #39 about this.
Describe the bug Using the latest version of highlight.js (9.12) and the line numbers library (2.3), certain elements in JSON (curly braces, colons, commas, and brackets) are now in black color. Not using the line numbering library does not produce this effect. It also changes the font size, but that's not too much of a concern for me.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):