mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 02:23:42 +08:00
5 lines
319 B
JavaScript
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;
|