hakimel / reveal.js

The HTML Presentation Framework
https://revealjs.com
MIT License
67.28k stars 16.64k forks source link

Cannot have notes for each section with auto-animate in markdown #3643

Open this-josh opened 2 weeks ago

this-josh commented 2 weeks ago

I'm writing my presentation in markdown, but for some slides I'm using the HTML syntax. I've got my notes plugin setup and it works fine, but I cannot have notes on more that one slide with auto-animate.

An example

---

<section data-auto-animate>
<h3>Cats</h3>
</section>

<section data-auto-animate>
<h3>Cats</h3>
<p>Go meow</p>

Note:
- Make sound
</section>

<section data-auto-animate>
<h3>Cats</h3>
<p>Go meow</p>
<p>Dogs don't</p>

Note:
- Go woof
</section>

---

Is there a suggested way to add notes to auto-animated slides? data-notes="Something important" works but isn't nice for longer notes.

I'm adding this as a bug as I don't believe this is intended behaviour

Browser: Arc Version 1.47.0 (50866)-RC Chromium Engine Version 126.0.6478.36

and Safari Version 17.5 (19618.2.12.11.6)

this-josh commented 2 weeks ago

Correction <aside class="notes"> does work. I'll leave this open though as the use of Note: doesn't seem quite right