Pre Code Parser

Tool di bawah ini berguna untuk memudahkan Anda menulis tag code atau pre pada artikel. Simpan kode kemudian klik Konversi, copy hasilnya di post editor Anda pada mode HTML (bukan Compose).


Konversi & menjadi &
Konversi ' menjadi '
Konversi " menjadi "
Konversi < menjadi &lt;
Konversi > menjadi &gt;

Contoh:


<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Contoh Hasil</title>
    <link rel="stylesheet" href="">
</head>
<body>
    
</body>
</html>

<script type="text/javascript">
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('k w(){i 9=3.4(\'h\');9.e=\'\';9.j();3.4(\'A\').z=p}k o(){i 7=3.4(\'h\'),0=7.e,a=3.4(\'a\'),b=3.4(\'b\'),c=3.4(\'c\'),d=3.4(\'d\'),f=3.4(\'f\');0=0.2(/\\t/g,"    ");5(a.6)0=0.2(/&/g,"&q;");5(b.6)0=0.2(/\'/g,"&#r;");5(c.6)0=0.2(/"/g,"&s;");5(d.6)0=0.2(/</g,"&u;");5(f.6)0=0.2(/>/g,"&v;");5(0.m(\'\\n\')!=-1||0.x>y){0=0.2(/^/,"<l><8>");0=0.2(/$/,"</8></l>")}B{0=0.2(/^/,"<8>");0=0.2(/$/,"</8>")}7.e=0;7.j();7.C()};',39,39,'cv||replace|document|getElementById|if|checked|ctarea|code|wtarea|opt1|opt2|opt3|opt4|value|opt5||codes|var|focus|function|pre|lastIndexOf||cdConvert|false|amp|039|quot||lt|gt|cdClear|length|40|disabled|cvrt|else|select'.split('|'),0,{}))
</script>

Ayo sob di komen, kalau ada salah atau saran, kritik boleh coret coret dibawah, gratis kok!