123456789101112131415161718192021222324 |
- /*
- Language: Shell Session
- Requires: bash.js
- Author: TSUYUSATO Kitsune <make.just.on@gmail.com>
- Category: common
- */
- function shell(hljs) {
- return {
- name: 'Shell Session',
- aliases: ['console'],
- contains: [
- {
- className: 'meta',
- begin: '^\\s{0,3}[/\\w\\d\\[\\]()@-]*[>%$#]',
- starts: {
- end: '$', subLanguage: 'bash'
- }
- }
- ]
- }
- }
- module.exports = shell;
|