From d610f6b337e59a0e9df35be723a64894d800f67f Mon Sep 17 00:00:00 2001 From: Wouter Peetermans Date: Mon, 2 Dec 2024 23:06:54 +0100 Subject: [PATCH] Add changes for better rendering of mermaid diagrams --- plugins/reveal.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/reveal.js b/plugins/reveal.js index 66a2ba9..aab82e6 100644 --- a/plugins/reveal.js +++ b/plugins/reveal.js @@ -82,7 +82,8 @@ class Reveal { } nextSlide() { - return this.page.evaluate(_ => Reveal.next()); + this.page.evaluate(_ => Reveal.next()); + return this.page.evaluate(_ => Reveal.layout()); } currentSlideIndex() {