add --allow-local-files to all marp scripts

This commit is contained in:
2025-12-25 15:22:01 +01:00
parent 0d3a660d1a
commit 7cefc5bb4f
+5 -5
View File
@@ -4,11 +4,11 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "marp index.md -o build/index.html && cp -r assets build/",
"dev": "marp --server ./",
"watch": "marp --watch index.md",
"export:pdf": "marp index.md --pdf -o build/index.pdf",
"export:html": "marp index.md --html -o build/index.html && cp -r assets build/",
"build": "marp index.md --allow-local-files -o build/index.html && cp -r assets build/",
"dev": "marp --server --allow-local-files ./",
"watch": "marp --watch --allow-local-files index.md",
"export:pdf": "marp index.md --allow-local-files --pdf -o build/index.pdf",
"export:html": "marp index.md --allow-local-files --html -o build/index.html && cp -r assets build/",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],