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 19079e2 + 72603ac commit 197bc54Copy full SHA for 197bc54
lib/helpers.js
@@ -6,7 +6,7 @@ module.exports = function (hbs) {
6
7
hbs.registerHelper('highlightBlock', function (block) {
8
9
- return hljs.highlightAuto(block).value;
+ return hljs.highlightAuto(block, ['javascript']).value;
10
11
});
12
0 commit comments