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

Possible to switch on slide numbers? #8

Closed
janroden opened this issue Oct 18, 2023 · 2 comments
Closed

Possible to switch on slide numbers? #8

janroden opened this issue Oct 18, 2023 · 2 comments

Comments

@janroden
Copy link

Is there a possibility to show slide numbers?
So the audience can refer to them when they ask questions...

Thanks!

@mfontanini
Copy link
Owner

This is already possible. See the docs on themes. So for example you can do:

---
author: Matias
theme:
    override:
        footer:
            style: template
            left: "{author}"
            right: "{current_slide} / {total_slides}"
            center: "2023-10-18"
                
---

# Hi mom

Which would look like
image

You can also create your own theme and point to it in your slide. e.g. copy themes/dark.yaml, edit the footer bit with the thing above and point to it in your presentation by using

theme:
  path: /home/me/theme.yaml

@janroden
Copy link
Author

That's awesome! Thanks a lot :)

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