LocalCDN-Firefox-Chrome-Brave/resources/highlight.js/10.3.2/python-repl.min.jsm

4 lines
262 B
JavaScript
Raw Normal View History

2020-10-22 17:07:40 +02:00
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:/^\.\.\.(?=[ ]|$)/}]}]}}}());