vite-plugin-react-deck 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +8 -1
- package/index.mjs +8 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -275,7 +275,14 @@ root.render(
|
|
|
275
275
|
<StrictMode>
|
|
276
276
|
<Deck deck={deck} theme={${JSON.stringify(themeObject)}} layouts={layouts} />
|
|
277
277
|
</StrictMode>
|
|
278
|
-
)
|
|
278
|
+
)
|
|
279
|
+
|
|
280
|
+
let link = document.createElement('link')
|
|
281
|
+
link.rel = 'stylesheet'
|
|
282
|
+
link.type = 'text/css'
|
|
283
|
+
link.href = 'https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css'
|
|
284
|
+
document.head.appendChild(link)
|
|
285
|
+
`;
|
|
279
286
|
}
|
|
280
287
|
|
|
281
288
|
// src/index.ts
|
package/index.mjs
CHANGED
|
@@ -254,7 +254,14 @@ root.render(
|
|
|
254
254
|
<StrictMode>
|
|
255
255
|
<Deck deck={deck} theme={${JSON.stringify(themeObject)}} layouts={layouts} />
|
|
256
256
|
</StrictMode>
|
|
257
|
-
)
|
|
257
|
+
)
|
|
258
|
+
|
|
259
|
+
let link = document.createElement('link')
|
|
260
|
+
link.rel = 'stylesheet'
|
|
261
|
+
link.type = 'text/css'
|
|
262
|
+
link.href = 'https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css'
|
|
263
|
+
document.head.appendChild(link)
|
|
264
|
+
`;
|
|
258
265
|
}
|
|
259
266
|
|
|
260
267
|
// src/index.ts
|