fix: add local files when genereating pdf so images are included
This commit is contained in:
4
Makefile
4
Makefile
@@ -32,7 +32,7 @@ watch:
|
|||||||
# Export to PDF
|
# Export to PDF
|
||||||
pdf:
|
pdf:
|
||||||
@echo "Exporting to PDF..."
|
@echo "Exporting to PDF..."
|
||||||
npm run export:pdf
|
npm run export:pdf -- --allow-local-files
|
||||||
|
|
||||||
# Export to HTML
|
# Export to HTML
|
||||||
html:
|
html:
|
||||||
@@ -53,4 +53,4 @@ install:
|
|||||||
deploy: build
|
deploy: build
|
||||||
@echo "Deploying slides..."
|
@echo "Deploying slides..."
|
||||||
scp build/index.html tengo@tuttle.uberspace.de:/home/tengo/html/malta/
|
scp build/index.html tengo@tuttle.uberspace.de:/home/tengo/html/malta/
|
||||||
scp -r build/assets/ tengo@tuttle.uberspace.de:/home/tengo/html/malta/
|
scp -r build/assets/ tengo@tuttle.uberspace.de:/home/tengo/html/malta/
|
||||||
|
|||||||
Reference in New Issue
Block a user