File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 5
5
< meta charset ="utf-8 "/>
6
6
< link rel =stylesheet href ="../doc/docs.css ">
7
7
8
+ < style >
9
+ .some-css {
10
+ color : red;
11
+ line-height : 2 ;
12
+ }
13
+ </ style >
14
+
8
15
< link rel ="stylesheet " href ="../lib/codemirror.css ">
9
16
< link rel ="stylesheet " href ="../addon/fold/foldgutter.css " />
10
17
< script src ="../lib/codemirror.js "> </ script >
17
24
< script src ="../addon/fold/comment-fold.js "> </ script >
18
25
< script src ="../mode/javascript/javascript.js "> </ script >
19
26
< script src ="../mode/xml/xml.js "> </ script >
27
+ < script src ="../mode/css/css.js "> </ script >
28
+ < script src ="../mode/htmlmixed/htmlmixed.js "> </ script >
20
29
< script src ="../mode/python/python.js "> </ script >
21
30
< script src ="../mode/markdown/markdown.js "> </ script >
22
31
< style type ="text/css ">
@@ -100,7 +109,7 @@ <h2>Code Folding Demo</h2>
100
109
gutters : [ "CodeMirror-linenumbers" , "CodeMirror-foldgutter" ]
101
110
} ) ;
102
111
editor_html . foldCode ( CodeMirror . Pos ( 0 , 0 ) ) ;
103
- editor_html . foldCode ( CodeMirror . Pos ( 21 , 0 ) ) ;
112
+ editor_html . foldCode ( CodeMirror . Pos ( 34 , 0 ) ) ;
104
113
105
114
window . editor_python = CodeMirror . fromTextArea ( te_python , {
106
115
mode : "python" ,
You can’t perform that action at this time.
0 commit comments