Skip to content
Discussion options

You must be logged in to vote

Initially from: https://stackoverflow.com/questions/31146251/hide-slide-number-on-title-page

---
title: "Untitled"
format:
  revealjs:
    slide-number: true
    include-after-body: 
      - text: |
          <script type="text/javascript">
          Reveal.addEventListener('slidechanged', (event) => {
            const isSnOn = (event.currentSlide.dataset.hideSlideNumber !== 'true');
            Reveal.configure({ slideNumber: isSnOn });
          });
          </script>
---

## Slide 1

## Slide 2

## Slide 3 without slide number {data-hide-slide-number="true"}

## Slide 4 without slide number {data-hide-slide-number="true"}
Screen.Recording.2023-05-16.at.20.29.01.mov

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@mcanouil
Comment options

@melissavanbussel
Comment options

@mcanouil
Comment options

@cderv
Comment options

@mcanouil
Comment options

Answer selected by melissavanbussel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
revealjs Issues with the revealjs format
4 participants