Verify the following code blocks render as code blocks and highlight properly.
Diff
*** /path/to/original ''timestamp''
--- /path/to/new ''timestamp''
***************
*** 1 ****
! This is a line.
--- 1 ---
! This is a replacement line.
It is important to spell
-removed line
+new line
importjavax.swing.JFrame;//Importing class JFrameimportjavax.swing.JLabel;//Importing class JLabelpublicclassHelloWorld{publicstaticvoidmain(String[]args){JFrameframe=newJFrame();//Creating frameframe.setTitle("Hi!");//Setting title frameframe.add(newJLabel("Hello, world!"));//Adding text to frameframe.pack();//Setting size to smallestframe.setLocationRelativeTo(null);//Centering frameframe.setVisible(true);//Showing frame}}
import{x,y}aspfrom'point';constANSWER=42;classCarextendsVehicle{constructor(speed,cost){super(speed);varc=Symbol('cost');this[c]=cost;this.intro=`This is a car runs at
${speed}.`;}}for(letnumof[1,2,3]){console.log(num+0b111110111);}function$initHighlight(block,flags){try{if(block.className.search(/\bno\-highlight\b/)!=-1)returnprocessBlock(block.function,true,0x0F)+' class=""';}catch(e){/* handle exception */vare4x=<div>Example<p>1234</p></div>;}for(vari=0/2;i<classes.length;i++){// "0 / 2" should not be parsed as regexp
if(checkCondition(classes[i])===undefined)return/\d+[\s/]/g;}console.log(Array.every(classes,Boolean));}export$initHighlight;