diff --git a/index.html b/index.html index ee3d7db..23342a6 100644 --- a/index.html +++ b/index.html @@ -2203,6 +2203,15 @@ function highlight(code = `console.log("Here is your code."); var x = 5;`, langu document.body.addEventListener( "highlighterready", (e) => { //fetch("colorme.js").then(r=>r.text()).then( page => { addCodeEditor( page ) }) + + fetch( 'colorme.js').then(r=>r.text()).then( src => { + let parts = 5 // can't handle odd splits... + let pl = src.length/parts + for (let n=0; n