File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ hljs . configure ( {
2
+ // The list of languages that may be used in the auto-detection.
3
+ // NOTE: always derive this list from the `readme.md`.
4
+ languages : [
5
+ 'bash' ,
6
+ 'c' ,
7
+ 'css' ,
8
+ 'dart' ,
9
+ 'diff' ,
10
+ 'java' ,
11
+ 'javascript' ,
12
+ 'json' ,
13
+ 'kotlin' ,
14
+ // removal reason: https://github.com/highlightjs/highlight.js/issues/4279#issuecomment-3126165923
15
+ // 'markdown',
16
+ 'objectivec' ,
17
+ 'plaintext' ,
18
+ 'shell' ,
19
+ 'swift' ,
20
+ 'xml' ,
21
+ 'yaml' ,
22
+ ]
23
+ } ) ;
1
24
hljs . highlightAll ( ) ;
Original file line number Diff line number Diff line change 10
10
4 . Verify that the listed language are selected.
11
11
5 . Download and extract assets.
12
12
13
+ ** NOTE:** when updating this list, also update the ` init.js ` .
14
+
13
15
``` javascript
14
16
var selected = [
15
17
' bash' ,
You can’t perform that action at this time.
0 commit comments