mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-01-20 21:50:31 +01: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:/^\.\.\.(?=[ ]|$)/}]}]})})()); |