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+ } ) ;
124hljs . highlightAll ( ) ;
Original file line number Diff line number Diff line change 10104 . Verify that the listed language are selected.
11115 . Download and extract assets.
1212
13+ ** NOTE:** when updating this list, also update the ` init.js ` .
14+
1315``` javascript
1416var selected = [
1517 ' bash' ,
You can’t perform that action at this time.
0 commit comments