mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 21:44:08 +08:00
4 lines
244 B
JavaScript
4 lines
244 B
JavaScript
hljs.registerLanguage("python-repl",(()=>{"use strict";return s=>({
|
|
aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",
|
|
subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{
|
|
begin:/^\.\.\.(?=[ ]|$)/}]}]})})()); |