MediaWiki:Highlight-js/languages/shell.js

/** * Language: Shell Session * Requires: bash.js * Author: TSUYUSATO Kitsune  * Category: common */ window.dev.highlight.registerLanguage('shell', function(hljs) { return {    aliases: ['console'],    contains: [      {        className: 'meta',        begin: '^\\s{0,3}[\\w\\d\\[\\]@-]*[>%$#]',        starts: {          end: '$', subLanguage: 'bash'        }      }    ]  } }); /** **/