LocalCDN-Firefox-Chrome-Brave/resources/highlight.js/10.7.3/shell.min.jsm

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"}}]})})());