1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-21 07:33:54 +01:00
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"}}]})})());