File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 13
13
<!-- <script src="../dist/highlightjs-line-numbers.min.js"></script> -->
14
14
< script >
15
15
hljs . initHighlightingOnLoad ( ) ;
16
- hljs . initLineNumbersOnLoad ( ) ;
16
+ hljs . initLineNumbersOnLoad ( {
17
+ // singleLine:true,
18
+ startFrom : 5 ,
19
+ } ) ;
17
20
</ script >
18
21
< style >
19
22
53
56
< h1 > Examples</ h1 >
54
57
55
58
56
- < pre > < code class ="nohighlight "> var a = 1;
59
+ < pre > < code class ="nohighlight "> // nohighlight
57
60
58
61
func as(int a)
59
62
{
60
63
return a * 1000;
61
64
}
62
65
</ code > </ pre >
63
66
67
+ < pre > < code class ="nohljsln "> // nohljsln
64
68
65
- < pre > < code > {
69
+ func as(int a)
70
+ {
71
+ return a * 1000;
72
+ }
73
+ </ code > </ pre >
74
+
75
+
76
+ < pre > < code data-ln-start-from ="10 "> {
66
77
"averageBuyFee" : 1.3999999999999999,
67
78
"timestamp" : 1527721200000,
68
79
"rates" : {
You can’t perform that action at this time.
0 commit comments