5 <title>CodeMirror: Jade Templating Mode</title>
6 <link rel="stylesheet" href="../../lib/codemirror.css">
7 <script src="../../lib/codemirror.js"></script>
8 <script src="jade.js"></script>
9 <style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
10 <link rel="stylesheet" href="../../doc/docs.css">
13 <h1>CodeMirror: Jade Templating Mode</h1>
14 <form><textarea id="code" name="code">
18 title= "Jade Templating CodeMirror Mode Example"
19 link(rel='stylesheet', href='/css/bootstrap.min.css')
20 link(rel='stylesheet', href='/css/index.css')
21 script(type='text/javascript', src='/js/jquery-1.9.1.min.js')
22 script(type='text/javascript', src='/js/bootstrap.min.js')
25 h1 Welcome to this Example
32 img.img-rounded.logo(src=spot.logo)
34 img.img-rounded.logo(src="img/placeholder.png")
36 a(href=spot.hash) ##{spot.hash}
38 span.title #{spot.title}
42 h3 There are no spots currently available.
45 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
46 mode: {name: "jade", alignCDATA: true},
50 <h3>The Jade Templating Mode</h3>
51 <p> Created by Drew Bratcher. Managed as part of an Adobe Brackets extension at <a href="https://github.com/dbratcher/brackets-jade">https://github.com/dbratcher/brackets-jade</a>.</p>
52 <p><strong>MIME type defined:</strong> <code>text/x-jade</code>.</p>