Skip to content

Commit 7153e6d

Browse files
committed
Specify languages for highlight.js
1 parent fe176f9 commit 7153e6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/assets/js/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ $(() => {
44
anchors.add();
55

66
// highlight.js
7+
hljs.configure({
8+
languages: ['ruby', 'html', 'bash']
9+
});
710
hljs.highlightAll();
811

912
$("#navigation").load(`${config.rootPath}navigation.html`, function() {

0 commit comments

Comments
 (0)