Skip to content

Commit a9f7d01

Browse files
author
Christopher Baker
committed
add call to Prism.highlightAll()
1 parent bf0b0da commit a9f7d01

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

prettify.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require("./prettify.less");
22

3-
require("prismjs");
3+
var Prism = require("prismjs");
44
require("prismjs/plugins/line-numbers/prism-line-numbers.js");
55
require("prismjs/plugins/previewers/prism-previewers.js");
66
require("prismjs/plugins/command-line/prism-command-line.js");
@@ -44,4 +44,6 @@ module.exports = function(){
4444
}
4545
}
4646
}
47+
48+
Prism.highlightAll();
4749
}

0 commit comments

Comments
 (0)