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

python-repl.js.map « highlight « js - github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2296bb29957038a7f635f864af181c93602de611 (plain)
1
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/python-repl.js"],"names":["module","exports","hljs","aliases","contains","className","starts","end","subLanguage","variants","begin"],"mappings":"oGAmCAA,EAAOC,QA5BP,SAAoBC,GAClB,MAAO,CACLC,QAAS,CAAE,SACXC,SAAU,CACR,CACEC,UAAW,OACXC,OAAQ,CAGNC,IAAK,MACLD,OAAQ,CACNC,IAAK,IACLC,YAAa,WAGjBC,SAAU,CACR,CACEC,MAAO,iBAET,CACEA,MAAO","file":"highlight/python-repl.js?v=382e567d237b3a955b30","sourcesContent":["/*\nLanguage: Python REPL\nRequires: python.js\nAuthor: Josh Goebel <hello@joshgoebel.com>\nCategory: common\n*/\n\nfunction pythonRepl(hljs) {\n  return {\n    aliases: [ 'pycon' ],\n    contains: [\n      {\n        className: 'meta',\n        starts: {\n          // a space separates the REPL prefix from the actual code\n          // this is purely for cleaner HTML output\n          end: / |$/,\n          starts: {\n            end: '$',\n            subLanguage: 'python'\n          }\n        },\n        variants: [\n          {\n            begin: /^>>>(?=[ ]|$)/\n          },\n          {\n            begin: /^\\.\\.\\.(?=[ ]|$)/\n          }\n        ]\n      }\n    ]\n  };\n}\n\nmodule.exports = pythonRepl;\n"],"sourceRoot":""}