blob: 263ac2d54874c73f838a15f051bad3b6a7f2bdad [file] [log] [blame]
exports.ids = ["react-syntax-highlighter_languages_highlight_pythonRepl"];
exports.modules = {
/***/ "./node_modules/react-syntax-highlighter/node_modules/highlight.js/lib/languages/python-repl.js":
/*!******************************************************************************************************!*\
!*** ./node_modules/react-syntax-highlighter/node_modules/highlight.js/lib/languages/python-repl.js ***!
\******************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
/*
Language: Python REPL
Requires: python.js
Author: Josh Goebel <hello@joshgoebel.com>
Category: common
*/
function pythonRepl(hljs) {
return {
aliases: ['pycon'],
contains: [
{
className: 'meta',
starts: {
// a space separates the REPL prefix from the actual code
// this is purely for cleaner HTML output
end: / |$/,
starts: {
end: '$', subLanguage: 'python'
}
},
variants: [
{ begin: /^>>>(?=[ ]|$)/ },
{ begin: /^\.\.\.(?=[ ]|$)/ }
]
},
]
}
}
module.exports = pythonRepl;
/***/ })
};;
//# sourceMappingURL=react-syntax-highlighter_languages_highlight_pythonRepl.render-page.js.map