discourse/vendor/assets/javascripts/highlightjs/es/languages/shell.min.js

5 lines
323 B
JavaScript

/*! `shell` grammar compiled for Highlight.js 11.6.0 */
var hljsGrammar=(()=>{"use strict";return s=>({name:"Shell Session",
aliases:["console","shellsession"],contains:[{className:"meta.prompt",
begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,
subLanguage:"bash"}}]})})();export default hljsGrammar;