Skip to content

Commit d641d2d

Browse files
authored
feat(html): always include RevealJS' notes plugin (#538)
This allows to open the speaker view no matter if we had notes included.
1 parent d3396d3 commit d641d2d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
(unreleased)=
1111
## [Unreleased](https://github.com/jeertmans/manim-slides/compare/v5.5.0...HEAD)
1212

13+
(unreleased-changed)=
14+
### Changed
15+
16+
- HTML template now always includes the *notes* plugin so that the speaker
17+
view is always available. Previously, it was only included if the slides
18+
had notes.
19+
[#538](https://github.com/jeertmans/manim-slides/pull/538)
20+
1321
(v5.5.0)=
1422
## [v5.5.0](https://github.com/jeertmans/manim-slides/compare/v5.4.2...v5.5.0)
1523

manim_slides/templates/revealjs.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@
5050
</div>
5151

5252
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/{{ reveal_version }}/reveal.min.js"></script>
53+
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/{{ reveal_version }}/plugin/notes/notes.min.js"></script>
5354

5455
<!-- To include plugins, see: https://revealjs.com/plugins/ -->
5556
{% if has_notes %}
56-
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/{{ reveal_version }}/plugin/markdown/markdown.min.js"></script>
57-
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/{{ reveal_version }}/plugin/notes/notes.min.js"></script>
57+
<script src="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/{{ reveal_version }}/plugin/markdown/markdown.min.js"></script>
5858
{% endif %}
5959

6060
<!-- <script src="index.js"></script> -->

0 commit comments

Comments
 (0)