vue-files-preview-inno
Version:
A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.
1 lines • 1.22 kB
Source Map (JSON)
{"version":3,"file":"python-repl.mjs","sources":["../../../../../../node_modules/highlight.js/lib/languages/python-repl.js"],"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.prompt',\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 { begin: /^>>>(?=[ ]|$)/ },\n { begin: /^\\.\\.\\.(?=[ ]|$)/ }\n ]\n }\n ]\n };\n}\n\nmodule.exports = pythonRepl;\n"],"names":["pythonRepl","hljs","pythonRepl_1"],"mappings":";;;;AAOA,WAASA,EAAWC,GAAM;AACxB,WAAO;AAAA,MACL,SAAS,CAAE,OAAO;AAAA,MAClB,UAAU;AAAA,QACR;AAAA,UACE,WAAW;AAAA,UACX,QAAQ;AAAA;AAAA;AAAA,YAGN,KAAK;AAAA,YACL,QAAQ;AAAA,cACN,KAAK;AAAA,cACL,aAAa;AAAA;;UAGjB,UAAU;AAAA,YACR,EAAE,OAAO,gBAAe;AAAA,YACxB,EAAE,OAAO,mBAAkB;AAAA;;;IAIrC;AAAA,EACA;AAEA,SAAAC,IAAiBF;;","x_google_ignoreList":[0]}