File tree Expand file tree Collapse file tree 1 file changed +23
-28
lines changed Expand file tree Collapse file tree 1 file changed +23
-28
lines changed Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- < title > </ title >
4
+ < title > Demo page </ title >
5
5
< link rel ="stylesheet " href ="default.min.css ">
6
6
< script src ="highlight.min.js "> </ script >
7
7
< script src ="../src/highlightjs-line-numbers.js "> </ script >
8
- < script >
9
-
10
- hljs . initHighlightingOnLoad ( ) ;
11
- hljs . initLineNumbersOnLoad ( ) ;
12
-
13
- </ script >
8
+ < script >
9
+ hljs . initHighlightingOnLoad ( ) ;
10
+ hljs . initLineNumbersOnLoad ( ) ;
11
+ </ script >
12
+ < style >
13
+ .hljs-line-numbers {
14
+ text-align : right;
15
+ border-right : 1px solid # ccc ;
16
+ color : # 999 ;
17
+ -webkit-touch-callout : none;
18
+ -webkit-user-select : none;
19
+ -khtml-user-select : none;
20
+ -moz-user-select : none;
21
+ -ms-user-select : none;
22
+ user-select : none;
23
+ }
24
+
25
+ # wapper {
26
+ max-width : 700px ;
27
+ margin : 0 auto;
28
+ }
29
+ </ style >
14
30
</ head >
15
31
16
- < style type ="text/css ">
17
- .hljs-line-numbers {
18
- text-align : right;
19
- border-right : 1px solid # ccc ;
20
- color : # 999 ;
21
- -webkit-touch-callout : none;
22
- -webkit-user-select : none;
23
- -khtml-user-select : none;
24
- -moz-user-select : none;
25
- -ms-user-select : none;
26
- user-select : none;
27
- }
28
-
29
- # wapper {
30
- max-width : 700px ;
31
- margin : 0 auto;
32
- }
33
32
34
- </ style >
35
33
< body >
36
34
< div id ="wapper ">
37
-
38
-
39
-
40
35
41
36
42
37
You can’t perform that action at this time.
0 commit comments