mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-21 07:33:54 +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:/^\.\.\.(?=[ ]|$)/}]}]})})()); |