5 <title>CodeMirror: Variable Height Demo</title>
6 <link rel="stylesheet" href="../lib/codemirror.css">
7 <script src="../lib/codemirror.js"></script>
8 <script src="../mode/markdown/markdown.js"></script>
9 <script src="../mode/xml/xml.js"></script>
10 <link rel="stylesheet" href="../doc/docs.css">
12 <style type="text/css">
13 .CodeMirror {border: 1px solid silver; border-width: 1px 2px; }
14 .cm-header { font-size: 150%; font-family: arial; }
15 .cm-strong { font-size: 140%; }
19 <h1>CodeMirror: Variable Height Demo</h1>
21 <form><textarea id="code" name="code"># A First Level Header
23 **Bold** text in a normal-size paragraph.
25 And a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long, wrapped line with a piece of **big** text inside of it.
27 ## A Second Level Header
29 Now is the time for all good men to come to
30 the aid of their country. This is just a
33 The quick brown fox jumped over the lazy
38 > This is a blockquote.
40 > This is the second paragraph in the blockquote.
42 > ## This is an H2 in a blockquote
45 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {