File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ class Generator
2929 const hljs = require ( 'highlight.js' ) ;
3030 const language = hljs . getLanguage ( lang ) ? lang : 'plaintext' ;
3131 return hljs . highlight ( code , { language } ) . value ;
32- }
32+ } ,
3333 } ) ;
3434
3535 let defaultRender = new marked . Renderer ( ) ;
3636
3737 marked . use ( {
3838 renderer : {
3939 link : function ( href , title , string ) {
40- if ( ! href . startsWith ( 'http' ) )
40+ if ( ! href . startsWith ( 'http' ) && ! href . startsWith ( 'mailto' ) )
4141 href = 'https://github.com/vizzuhq/vizzu-lib/blob/main/' + href ;
4242 return defaultRender . link ( href , title , string ) ;
4343 }
Original file line number Diff line number Diff line change 55 < title > Vizzu Library</ title >
66 < link rel ="icon " href ="0.3.0/images/favicon.svg ">
77 < meta name ='viewport ' content ='width=device-width, initial-scale=1 '>
8- < link rel ='stylesheet ' type ='text/css ' media ='screen ' href ='docs /style/root.css '>
9- < link rel ='stylesheet ' type ='text/css ' media ='screen ' href ='docs /style/highlight.css '>
8+ < link rel ='stylesheet ' type ='text/css ' media ='screen ' href ='0.3.0 /style/root.css '>
9+ < link rel ='stylesheet ' type ='text/css ' media ='screen ' href ='0.3.0 /style/highlight.css '>
1010</ head >
1111< body >
1212 < div id ="content "> </ div >
You can’t perform that action at this time.
0 commit comments