Ran
|
Files
55
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
github
Moved `hljs` class to `<code>` from `<pre>`. (#913) In this change set I am changing the guidance in the README and in comments to put the class on the correct tag: `<code>`, not `<pre>`. If you put the `hljs` class on `<pre>`, syntax highlighting does not use the correct padding. You can see from the default CSS stylesheet in the highlight.js repo that the `hljs` tag is expected to be on the `<code>` tag: https://github.com/highlightjs/highlight.js/blob/84719c17a/src/styles/default.css#L17-L25 All the official highlight.js examples have the `hljs` class on `<code>`: https://highlightjs.org/static/demo/
1502 of 1519 branches covered (0.0%)
2286 of 2291 relevant lines covered (99.78%)
224641.67 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|