File tree Expand file tree Collapse file tree 13 files changed +15
-14
lines changed
Expand file tree Collapse file tree 13 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 4747
4848 const markdownFileURL = getMarkDownFileURL ( ) ;
4949
50- loadMarkDownScript (
50+ loadMarkDownModule (
5151 function ( ) {
5252 renderMarkdwon ( "page-markdown-view" , markdownFileURL ) ;
5353 }
Original file line number Diff line number Diff line change 4444
4545 const markdownFileURL = getMarkDownFileURL ( ) ;
4646
47- loadMarkDownScript (
47+ loadMarkDownModule (
4848 function ( ) {
4949 renderMarkdwon ( "page-markdown-view" , markdownFileURL ) ;
5050 }
Original file line number Diff line number Diff line change @@ -44,12 +44,13 @@ function load_highlight_link_stylesheet() {
4444 //link.href = "https://cdn.jsdelivr.net/npm/highlight.js/styles/github.css";
4545 //link.href = "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/styles/default.min.css";
4646 //link.href = "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/default.min.css";
47- link . href = "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/atom-one-dark.min.css" ;
47+ //link.href = "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/atom-one-dark.min.css";
48+ link . href = "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/github-dark.css" ;
4849 link . rel = "stylesheet" ;
4950 document . head . appendChild ( link ) ;
5051}
5152
52- function loadMarkDownScript ( callback ) {
53+ function loadMarkDownModule ( callback ) {
5354 load_marked_script (
5455 function ( ) {
5556 load_highlight_link_stylesheet ( ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function initializeMarkdwonView() {
1414 return ;
1515 }
1616
17- loadMarkDownScript (
17+ loadMarkDownModule (
1818 function ( ) {
1919 renderMarkdwon ( "page-markdown-view" , "./page.md" ) ;
2020 }
Original file line number Diff line number Diff line change 4747
4848 const markdownFileURL = getMarkDownFileURL ( ) ;
4949
50- loadMarkDownScript (
50+ loadMarkDownModule (
5151 function ( ) {
5252 renderMarkdwon ( "page-markdown-view" , markdownFileURL ) ;
5353 }
Original file line number Diff line number Diff line change 4747
4848 const markdownFileURL = getMarkDownFileURL ( ) ;
4949
50- loadMarkDownScript (
50+ loadMarkDownModule (
5151 function ( ) {
5252 renderMarkdwon ( "page-markdown-view" , markdownFileURL ) ;
5353 }
Original file line number Diff line number Diff line change 4747
4848 const markdownFileURL = getMarkDownFileURL ( ) ;
4949
50- loadMarkDownScript (
50+ loadMarkDownModule (
5151 function ( ) {
5252 renderMarkdwon ( "page-markdown-view" , markdownFileURL ) ;
5353 }
Original file line number Diff line number Diff line change 4747
4848 const markdownFileURL = getMarkDownFileURL ( ) ;
4949
50- loadMarkDownScript (
50+ loadMarkDownModule (
5151 function ( ) {
5252 renderMarkdwon ( "page-markdown-view" , markdownFileURL ) ;
5353 }
Original file line number Diff line number Diff line change 4747
4848 const markdownFileURL = getMarkDownFileURL ( ) ;
4949
50- loadMarkDownScript (
50+ loadMarkDownModule (
5151 function ( ) {
5252 renderMarkdwon ( "page-markdown-view" , markdownFileURL ) ;
5353 }
Original file line number Diff line number Diff line change 4747
4848 const markdownFileURL = getMarkDownFileURL ( ) ;
4949
50- loadMarkDownScript (
50+ loadMarkDownModule (
5151 function ( ) {
5252 renderMarkdwon ( "page-markdown-view" , markdownFileURL ) ;
5353 }
You can’t perform that action at this time.
0 commit comments