Skip to content

Commit 72603ac

Browse files
committed
Forced language on highlight method.
1 parent 19079e2 commit 72603ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = function (hbs) {
66

77
hbs.registerHelper('highlightBlock', function (block) {
88

9-
return hljs.highlightAuto(block).value;
9+
return hljs.highlightAuto(block, ['javascript']).value;
1010

1111
});
1212

0 commit comments

Comments
 (0)