File tree Expand file tree Collapse file tree 2 files changed +172
-4
lines changed
Expand file tree Collapse file tree 2 files changed +172
-4
lines changed Original file line number Diff line number Diff line change @@ -153,14 +153,13 @@ function appendRemark(option: SlideOptions) {
153153 }
154154 }
155155
156-
157156 `
158157
159158 document . head . appendChild ( style )
160159
161160 const script = document . createElement ( "script" )
162- // script.src = `https://remarkjs.com/downloads/ remark-latest.min .js`
163- script . src = `${ window . location . origin } /static/scripts/remark.js`
161+ // script.src = `${window.location.origin}/static/scripts/ remark.js`
162+ script . src = `https://codeyoma.github.io /static/scripts/remark.js`
164163
165164 script . onload = ( ) => {
166165 remark . create ( {
@@ -170,7 +169,6 @@ function appendRemark(option: SlideOptions) {
170169 renderMermaidInSlide ( )
171170 )
172171 }
173-
174172 document . body . appendChild ( script )
175173}
176174
You can’t perform that action at this time.
0 commit comments