Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not all used images are present in exported presentation #879

Open
boschkundendienst opened this issue Mar 31, 2022 · 1 comment
Open

not all used images are present in exported presentation #879

boschkundendienst opened this issue Mar 31, 2022 · 1 comment

Comments

@boschkundendienst
Copy link

I use vscode-reveal 4.1.3 with Code - OSS V1.65.1 on Manjaro Linux. I write the slides in a markdown file slides.md and I put all the images in the subfolder img.

Preview and everything works perfect so far but when I export the entire presentation the subfolder for the images does not contain all used images only some. I could not find out yet, which ones are chosen.

In the export folder there is also a subfolder img which as I said does not contain all images used but when clicking through the different slides in code the image of the currently editing slide is automatically added to the export folder but when I click on the "Export in HTML" button in vscode-reveal the entire export folder is recreated and only 3 to 5 of the 11 images are added properly.

Most of the images are added like this

<!-- .slide: style="text-align: left; font-size: 35px;"
 data-background-image="images/background02.jpg"
 data-background-size="960x 700x"
--> 

One (logo.png) is added at the beginning with

---
title: "Titel"
controls: true
controlsTutorial: true
controlsLayout: "bottom-right"
slideNumber: true
theme: "night"
transition: "zoom"
highlightTheme: "monokai"
logoImg: "images/logo.png"
---

Any ideas why this happens?

@evilz
Copy link
Owner

evilz commented May 18, 2022

Export is very dummy, it export loaded ressources. I think Data background is a lazy loading so it does not come on export.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants