@berlysia/vertical-writing-slide-system 0.0.23 → 0.0.24
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/package.json
CHANGED
|
@@ -319,7 +319,13 @@ export default async function slidesPlugin(
|
|
|
319
319
|
slideScripts.external.push(...extractedScripts.external);
|
|
320
320
|
slideScripts.inline.push(...extractedScripts.inline);
|
|
321
321
|
|
|
322
|
-
|
|
322
|
+
// スライド固有のスクリプトを文字列として生成
|
|
323
|
+
const slideScriptsString = JSON.stringify(slideScripts);
|
|
324
|
+
|
|
325
|
+
return `
|
|
326
|
+
export default ${JSON.stringify(processedSlides.map((p) => p.value))};
|
|
327
|
+
export const slideScripts = ${slideScriptsString};
|
|
328
|
+
`;
|
|
323
329
|
}
|
|
324
330
|
|
|
325
331
|
const slides = content.split(/^\s*(?:---|\*\*\*|___)\s*$/m);
|