File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 < div id ="page ">
1111 {{ content }}
1212 </ div >
13- < p >
14-
15- </ p >
16- </ div >
13+ </ div >
1714
1815 </ div >
1916 </ div >
20- </ div >
2117 < div class ="col-sm-4 col-lg-4 ">
2218
2319 < div id ="toc " class ="nav "> </ div >
2420
2521 < script type ="text/javascript ">
2622 $ ( document ) . ready ( function ( ) {
2723 $ ( '#toc' ) . toc ( {
28- selectors : 'h2,h3,h4' ,
29- container : '#page' ,
30- anchorName : function ( i , heading , prefix ) {
31- return $ ( heading ) . text ( ) . replace ( / \s / g, '-' ) . replace ( / [ ^ \w - ] / g, '' ) ;
32- } ,
24+ 'selectors' : 'h2,h3,h4' ,
25+ 'prefix' : 'toc' ,
26+ 'container' : '#page' ,
27+ 'anchorName' : function ( i , heading , prefix ) { //custom function for anchor name
28+ return $ ( heading ) . text ( ) . replace ( / \s / g, '-' ) . replace ( / [ ^ \w - ] / g, '' ) ;
29+ } ,
3330 } ) ;
3431 } ) ;
3532 </ script >
4946
5047
5148 </ div >
52- </ div>
49+ </ div >
Original file line number Diff line number Diff line change 4545.highlight .mo { color : # 40a070 } /* Literal.Number.Oct */
4646.highlight .sb { color : # 4070a0 } /* Literal.String.Backtick */
4747.highlight .sc { color : # 4070a0 } /* Literal.String.Char */
48- .highlight .sd { color : # 4070a0 ; font-style : italic } /* Literal.String.Doc */
49- .highlight .s2 { color : # 4070a0 } /* Literal.String.Double */
50- .highlight .se { color : # 4070a0 ; font-weight : bold } /* Literal.String.Escape */
51- .highlight .sh { color : # 4070a0 } /* Literal.String.Heredoc */
48+ .highlight .sd { color : # 87D139 ; font-style : italic } /* Literal.String.Doc */
49+ .highlight .s2 { color : # 87D139 } /* Literal.String.Double */
50+ .highlight .se { color : # 87D139 ; font-weight : bold } /* Literal.String.Escape */
51+ .highlight .sh { color : # 87D139 } /* Literal.String.Heredoc */
5252.highlight .si { color : # 70a0d0 ; font-style : italic } /* Literal.String.Interpol */
5353.highlight .sx { color : # c65d09 } /* Literal.String.Other */
5454.highlight .sr { color : # 235388 } /* Literal.String.Regex */
You can’t perform that action at this time.
0 commit comments