summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/hl/languages/shell.min.js
blob: a633b148c5bb9255aa72bceb9d632971324de9f9 (plain)
1
2
3
4
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"}}]})})());