Skip to content

[BUG] <Speaker Notes aren't activated by default> #551

Open
@amstrdm

Description

@amstrdm

Terms

Describe the issue

The HTML template for reveal.js is missing two critical lines that actually allow the speaker notes to be available.

The first one is importing the notes.js plugin right before the </body tag:

    <script src="https://cdn.jsdelivr.net/npm/reveal.js/plugin/notes/notes.js"></script>

The second one is adding said plugin to reveal.js by adding the following line to the end of the object inside the Reveal.initialize() function call:

        plugins: [ RevealNotes ]

After adding these two lines, speaker notes can be activated by pressing S. Before adding these two lines, the HTML file generated by manim-slides does not come with a speaker view integration.

Command

manim-slides convert Presentation output.html

Issue Type

Bug when presenting with HTML/PowerPoint/... format (manim-slides convert)

Python version

3.11.3

Python environment

Manim Slides version: 5.5.1
Python executable: C:\DATA\coding\manim_tutorial\venv\Scripts\python.exe
Manim bindings:
        manim (version: 0.19.0)
        manimgl not found
Qt API: pyside6 (version: 6.9.0)

What is your platform?

Windows

Other platform

No response

Manim Slides Python code

Any code will do; the problem lies in the conversion.

Relevant log output

Screenshots

No response

Additional information

No response

Recommended fix or suggestions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghtml-convertRelated to converting to HTML slides

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions