Skip to content

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Sep 3, 2024

This PR tackles some improvements for footers.

Side notes

  • I wanted to clean further by making .quarto-auto-generated-content an ID instead of a class. So that we can target div#quarto-auto-generated-content and make clear there should be only a single structure like this in our code. I figured it could be too much if anyone is unfortunately using our internal DOM structure before processing.

it contains slide-logo and footer default moved around by quarto-support revealjs plugin
useful when default footer is set, but a slide would be better without one

e.g
```markdown
---
title: footers
format:
  revealjs:
    footer: "Default footer"
---

## Slide with footer

Content

## Slide with no footer {footer="false"}

Content
```
`slidechanged` event is not called on first slide. So `ready` event is necessary to add footer to first slide.
@cscheid
Copy link
Collaborator

cscheid commented Sep 5, 2024

LGTM!

@cderv cderv merged commit 92e4213 into main Sep 20, 2024
47 checks passed
@cderv cderv deleted the revealjs/clean-footer-handling branch September 20, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants