discourse/vendor/assets/javascripts/highlightjs/es/languages/python-repl.min.js

5 lines
319 B
JavaScript

/*! `python-repl` grammar compiled for Highlight.js 11.6.0 */
var hljsGrammar=(()=>{"use strict";return a=>({aliases:["pycon"],contains:[{
className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}
},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]})})()
;export default hljsGrammar;