Code Window
Overview
A code window is a section of code, such as the following, which is displayed within a text area which highlights the code.
let data = [1,2,3,4,5];
for(let item of data){
$console.log(item);
}
Code Markup
The code editor will place a code editor window displaying the code given in the div.
You will have to specify a height for the editor. If the code extends beyond the specified height,
a scroll bar will be present on the editor window.
Mappable Code
The following markup, where the code is enclosed within HTML comment tags, will also work.
The comment tags will tell the HTML editor to ignore the contents so that it doesnt pop up any HTML errors of warnings.