mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 03:56:32 +08:00
1 line
259 B
JavaScript
1 line
259 B
JavaScript
hljs.registerLanguage("python-repl",function(){"use strict";return function(n){return{aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}}()); |