5 <title>CodeMirror: Pascal mode</title>
6 <link rel="stylesheet" href="../../lib/codemirror.css">
7 <script src="../../lib/codemirror.js"></script>
8 <script src="pascal.js"></script>
9 <link rel="stylesheet" href="../../doc/docs.css">
10 <style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
13 <h1>CodeMirror: Pascal mode</h1>
15 <div><textarea id="code" name="code">
16 (* Example Pascal code *)
18 while a <> b do writeln('Waiting');
21 writeln('Condition met')
23 writeln('Condition not met');
26 writeln('Iteration: ', i:1);
40 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
46 <p><strong>MIME types defined:</strong> <code>text/x-pascal</code>.</p>