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 1313 <!-- <script src="../dist/highlightjs-line-numbers.min.js"></script> -->
1414 < script >
1515 hljs . initHighlightingOnLoad ( ) ;
16- hljs . initLineNumbersOnLoad ( ) ;
16+ hljs . initLineNumbersOnLoad ( {
17+ // singleLine:true,
18+ startFrom : 5 ,
19+ } ) ;
1720 </ script >
1821 < style >
1922
5356< h1 > Examples</ h1 >
5457
5558
56- < pre > < code class ="nohighlight "> var a = 1;
59+ < pre > < code class ="nohighlight "> // nohighlight
5760
5861func as(int a)
5962{
6063 return a * 1000;
6164}
6265</ code > </ pre >
6366
67+ < pre > < code class ="nohljsln "> // nohljsln
6468
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 "> {
6677 "averageBuyFee" : 1.3999999999999999,
6778 "timestamp" : 1527721200000,
6879 "rates" : {
You can’t perform that action at this time.
0 commit comments