File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 37
37
highlightJs . registerLanguage ( 'ruby' , require ( 'highlight.js/lib/languages/ruby' ) ) ;
38
38
highlightJs . registerLanguage ( 'scala' , require ( 'highlight.js/lib/languages/scala' ) ) ;
39
39
highlightJs . registerLanguage ( 'shell' , require ( 'highlight.js/lib/languages/shell' ) ) ;
40
+ highlightJs . registerLanguage ( 'bash' , require ( 'highlight.js/lib/languages/shell' ) ) ;
40
41
highlightJs . registerLanguage ( 'sql' , require ( 'highlight.js/lib/languages/sql' ) ) ;
41
42
highlightJs . registerLanguage ( 'xml' , require ( 'highlight.js/lib/languages/xml' ) ) ;
42
43
highlightJs . registerLanguage ( 'yaml' , require ( 'highlight.js/lib/languages/yaml' ) ) ;
Original file line number Diff line number Diff line change @@ -313,6 +313,20 @@ Content-Length: 121
313
313
}
314
314
----
315
315
316
+ Here's some shell:
317
+
318
+ [source,shell]
319
+ ----
320
+ $ cat thefile.txt
321
+ ----
322
+
323
+ Which can also be referenced as `bash`:
324
+
325
+ [source,bash]
326
+ ----
327
+ $ cat thefile.txt
328
+ ----
329
+
316
330
317
331
318
332
== Tables
You can’t perform that action at this time.
0 commit comments