Syntax highlight example
GitHub
HTML Source
JS Source
JSON Source
CSS Source
XML Source
CS Source
<html> <head> <style> BODY { background-color: white; color: black; } </style> </head> <xml> <root> <tag1 param1="value1"/> <tag2 param2="value2"> Text1 <![CDATA[CDATA text]]> Text2 </tag2> </root> </xml> <body> <script type="text/javascript"> <!-- const s = 'Hello!'; // Выводим alert(s); const string2 = 'Hello 2!'; // Не выводим const arr = [ 1, null, '2' ]; // Тестирование табуляции const t1 = 4; const t11 = 4; const t111 = 4; const t1111 = 4; const t11111 = 3; const t111111 = 3; const t1111111 = 3; const t11111111 = 3; const t111111111 = 2; const t1111111111 = 2; const t11111111111 = 2; const t111111111111 = 2; const t1111111111111 = 1; const t11111111111111 = 1; function f1(p1) { // TODO! } f1((p2) => 'Arrow Fx'); //--> </script> </body> </html>
HTML Result
SVG Result
Копировать