PluginProbe ʕ •ᴥ•ʔ
SiteOrigin CSS / trunk
SiteOrigin CSS vtrunk
1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.10 1.5.11 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0
so-css / lib / codemirror / mode / sass / index.html
so-css / lib / codemirror / mode / sass Last commit date
index.html 9 years ago sass.js 9 years ago sass.min.js 1 year ago test.js 9 years ago test.min.js 6 years ago
index.html
69 lines
1 <!doctype html>
2
3 <title>CodeMirror: Sass mode</title>
4 <meta charset="utf-8"/>
5 <link rel=stylesheet href="../../doc/docs.css">
6
7 <link rel="stylesheet" href="../../lib/codemirror.css">
8 <script src="../../lib/codemirror.js"></script>
9 <script src="../../addon/edit/matchbrackets.js"></script>
10 <script src="../css/css.js"></script>
11 <script src="sass.js"></script>
12 <style>.CodeMirror {border: 1px solid #ddd; font-size:12px; height: 400px}</style>
13 <div id=nav>
14 <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
15
16 <ul>
17 <li><a href="../../index.html">Home</a>
18 <li><a href="../../doc/manual.html">Manual</a>
19 <li><a href="https://github.com/codemirror/codemirror">Code</a>
20 </ul>
21 <ul>
22 <li><a href="../index.html">Language modes</a>
23 <li><a class=active href="#">Sass</a>
24 </ul>
25 </div>
26
27 <article>
28 <h2>Sass mode</h2>
29 <form><textarea id="code" name="code">// Variable Definitions
30
31 $page-width: 800px
32 $sidebar-width: 200px
33 $primary-color: #eeeeee
34
35 // Global Attributes
36
37 body
38 font:
39 family: sans-serif
40 size: 30em
41 weight: bold
42
43 // Scoped Styles
44
45 #contents
46 width: $page-width
47 #sidebar
48 float: right
49 width: $sidebar-width
50 #main
51 width: $page-width - $sidebar-width
52 background: $primary-color
53 h2
54 color: blue
55
56 #footer
57 height: 200px
58 </textarea></form>
59 <script>
60 var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
61 lineNumbers : true,
62 matchBrackets : true,
63 mode: "sass"
64 });
65 </script>
66
67 <p><strong>MIME types defined:</strong> <code>text/x-sass</code>.</p>
68 </article>
69