mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 09:04:01 +08:00
4 lines
229 B
JavaScript
4 lines
229 B
JavaScript
hljs.registerLanguage("shell",(()=>{"use strict";return s=>({
|
|
name:"Shell Session",aliases:["console"],contains:[{className:"meta",
|
|
begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#]/,starts:{end:/[^\\](?=\s*$)/,
|
|
subLanguage:"bash"}}]})})()); |