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

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:/^\.\.\.(?=[ ]|$)/}]}]})})());