From d9187f3ae21121e5599065988e335332da2c1f6c Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Thu, 26 Sep 2024 16:18:52 +0200 Subject: [PATCH] Use latest mathajx 2.7.9 with revealjs by default --- news/changelog-1.6.md | 1 + src/format/reveal/format-reveal.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/news/changelog-1.6.md b/news/changelog-1.6.md index cf79482f352..7216086e743 100644 --- a/news/changelog-1.6.md +++ b/news/changelog-1.6.md @@ -32,6 +32,7 @@ All changes included in 1.6: - ([#9742](https://github.com/quarto-dev/quarto-cli/issues/9742)): Links to cross-referenced images correctly works. - ([#9558](https://github.com/quarto-dev/quarto-cli/issues/9558)): To prevent default footer to show on slide, set `footer='false'` attribute on the slide header, e.g. `## Slide with no footer {footer='false'}` - ([#6012](https://github.com/quarto-dev/quarto-cli/issues/6012)): Add styling for `kbd` element in Revealjs slides. +- ([#10887](https://github.com/quarto-dev/quarto-cli/issues/10887)): Updating default Mathjax used from 2.7.0 to 2.7.9. ## `typst` Format diff --git a/src/format/reveal/format-reveal.ts b/src/format/reveal/format-reveal.ts index b96888bfeb8..657fecdc40e 100644 --- a/src/format/reveal/format-reveal.ts +++ b/src/format/reveal/format-reveal.ts @@ -87,7 +87,7 @@ export function revealjsFormat() { [kHtmlMathMethod]: { method: "mathjax", url: - "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_HTML-full", + "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-AMS_HTML-full", }, [kSlideLevel]: 2, },