From 0a09b435e3a290092a7997fb919fbc8188d0f9f7 Mon Sep 17 00:00:00 2001 From: rodrigoalcarazdelaosa Date: Thu, 30 Dec 2021 15:12:14 +0100 Subject: [PATCH] feat: update reveal.js from 4.1.0 to 4.2.1 with MathJax 3 integration (#2566) --- wowchemy/assets/js/wowchemy-slides.js | 2 +- wowchemy/layouts/slides/baseof.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wowchemy/assets/js/wowchemy-slides.js b/wowchemy/assets/js/wowchemy-slides.js index c465dfc7..890cfd2a 100644 --- a/wowchemy/assets/js/wowchemy-slides.js +++ b/wowchemy/assets/js/wowchemy-slides.js @@ -7,7 +7,7 @@ import * as params from '@params'; import {fixMermaid} from './wowchemy-utils'; // Enable core slide features. -var enabledPlugins = [RevealMarkdown, RevealHighlight, RevealSearch, RevealNotes, RevealMath, RevealZoom]; +var enabledPlugins = [RevealMarkdown, RevealHighlight, RevealSearch, RevealNotes, RevealMath.MathJax3, RevealZoom]; const isObject = function (o) { return o === Object(o) && !isArray(o) && typeof o !== 'function'; diff --git a/wowchemy/layouts/slides/baseof.html b/wowchemy/layouts/slides/baseof.html index 9a65d30c..ee620b59 100644 --- a/wowchemy/layouts/slides/baseof.html +++ b/wowchemy/layouts/slides/baseof.html @@ -5,7 +5,7 @@ {{ .Scratch.Set "media_dir" $media_dir }} {{ $css := site.Data.assets.css }} - {{ $cdn_url_reveal := "https://cdn.jsdelivr.net/npm/reveal.js@4.1.0" }} + {{ $cdn_url_reveal := "https://cdn.jsdelivr.net/npm/reveal.js@4.2.1" }} {{ $js := site.Data.assets.js }}