Highlight Your Code!
https://cdn.jsdelivr.net/gh/symlc112233/cnblogs@v2.0/Hightlight%20Code/cncode.js
function highlight()
{
var lan=document.getElementById("select").value;
var code=document.getElementById('textarea').value;
var html=part1+lanDict[lan]+part2+lan+part3+code+part4;
var newWindow=window.open("","code","width=600,height=400");
newWindow.document.write(html);
newWindow.document.close();
}