Test using <!-- language: lang-none -->
(i.e. should NOT have syntax highlighting)
Where indicated, the following sections are separately preceded by a line which contains <!-- language: lang-none -->
, which should still prevent application of syntax highlighting. Note that using HTML comments to apply code formatting is deprecated.
In code fences
With <!-- language: lang-none -->
var parent=document.getElementById('parent');
var child=document.getElementById('child');
var preventChild=document.getElementById('preventChild');
Without <!-- language: lang-none -->
var parent=document.getElementById('parent');
var child=document.getElementById('child');
var preventChild=document.getElementById('preventChild');
Using 4 space indent
With <!-- language: lang-none -->
var parent=document.getElementById('parent');
var child=document.getElementById('child');
var preventChild=document.getElementById('preventChild');
Without <!-- language: lang-none -->
var parent=document.getElementById('parent');
var child=document.getElementById('child');
var preventChild=document.getElementById('preventChild');
In HTML <pre><code>
With <!-- language: lang-none -->
var parent=document.getElementById('parent');
var child=document.getElementById('child');
var preventChild=document.getElementById('preventChild');
Without <!-- language: lang-none -->
var parent=document.getElementById('parent');
var child=document.getElementById('child');
var preventChild=document.getElementById('preventChild');
All of the above function as expected in the preview below the text input while editing.