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

Setting a Background for the complete Presentation/Markdown file #486

Open
v-scalone opened this issue Jun 18, 2024 · 1 comment
Open

Setting a Background for the complete Presentation/Markdown file #486

v-scalone opened this issue Jun 18, 2024 · 1 comment

Comments

@v-scalone
Copy link

I am just writing my first presentation and I have the following problem: I want to set a background image for my whole presentation.
I found out that I could set it per slide with

<!-- .slide: data-background="./bg.png", data-background-size="contain" -->

but it makes the markdown file really cluttered >.<

I couldn't find a way to just have something like

data-background: ./bg.png
data-background-size: contain

in the upfront yaml configuration

@webpro
Copy link
Owner

webpro commented Jul 9, 2024

This is the way to it indeed. You can search this repo, I've seen this being discussed a few times before, maybe you'll find an alternative you like better.

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