Welcome to mirror list, hosted at ThFree Co, Russian Federation.

shell.js.map « highlight « js - github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: be9c2b0f85276b8e21e0f652a445bef30149f5ab (plain)
1
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/shell.js"],"names":["module","exports","hljs","name","aliases","contains","className","begin","starts","end","subLanguage"],"mappings":"oGA6BAA,EAAOC,QApBP,SAAeC,GACb,MAAO,CACLC,KAAM,gBACNC,QAAS,CAAE,WACXC,SAAU,CACR,CACEC,UAAW,OAIXC,MAAO,iCACPC,OAAQ,CACNC,IAAK,gBACLC,YAAa","file":"highlight/shell.js?v=f0b81b7ce452ecaa7292","sourcesContent":["/*\nLanguage: Shell Session\nRequires: bash.js\nAuthor: TSUYUSATO Kitsune <make.just.on@gmail.com>\nCategory: common\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction shell(hljs) {\n  return {\n    name: 'Shell Session',\n    aliases: [ 'console' ],\n    contains: [\n      {\n        className: 'meta',\n        // We cannot add \\s (spaces) in the regular expression otherwise it will be too broad and produce unexpected result.\n        // For instance, in the following example, it would match \"echo /path/to/home >\" as a prompt:\n        // echo /path/to/home > t.exe\n        begin: /^\\s{0,3}[/~\\w\\d[\\]()@-]*[>%$#]/,\n        starts: {\n          end: /[^\\\\](?=\\s*$)/,\n          subLanguage: 'bash'\n        }\n      }\n    ]\n  };\n}\n\nmodule.exports = shell;\n"],"sourceRoot":""}