We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0c0d71 + 08b5d14 commit c986b3aCopy full SHA for c986b3a
src/theme/book.js
@@ -22,6 +22,10 @@ $( document ).ready(function() {
22
$('code').each(function(i, block) {
23
hljs.highlightBlock(block);
24
});
25
+
26
+ // Adding the hljs class gives code blocks the color css
27
+ // even if highlighting doesn't apply
28
+ $('code').addClass('hljs');
29
30
var KEY_CODES = {
31
PREVIOUS_KEY: 37,
0 commit comments