You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The math plugin now supports three typesetting libraries: KaTeX, MathJax 2 and MathJax 3. We continue to use MathJax 2 as our default so this is fully backwards compatible. Learn how to choose between typesetters and how to configure them in the docs at https://revealjs.com/math#typesetting-libraries (@burgerga in #2559).
New event: beforeslidechange (#3003). This makes it possible to conditionally prevent navigations:
// This prevents all slide changesReveal.addEventListener('beforeslidechange',e=>e.preventDefault());
New keyboard shortcut for skipping fragments while navigating: alt + ←/↑/→/↓.
New API option for skipping fragments in directional navigation Reveal.right({ skipFragments: true }).
Adds a beforeHighlight callback to the highlight plugin (@rajgoel in #3026).
Reveal.initialize({highlight: {beforeHighlight: (hljs)=>{// interact with highlight.js, for example to register a new language}}})
Code line numbers can now start from an offset (#3050). For example, this code block would begin its line numbering from 10: <code data-ln-start-from="10">.
Better error messaging when the .reveal or .slides containers are missing #2217.
Fixes
The last slide keyboard shortcut now works for looped presentations (#3007).
Markdown code blocks can be turned into fragments (@nicojs in #2982).
4.2.0
https://github.com/hakimel/reveal.js/releases/tag/4.2.0
Changes
beforeslidechange
(#3003). This makes it possible to conditionally prevent navigations:Reveal.right({ skipFragments: true })
.beforeHighlight
callback to the highlight plugin (@rajgoel in #3026).<code data-ln-start-from="10">
..reveal
or.slides
containers are missing #2217.Fixes
navigationMode
was set tolinear
.via Release notes from reveal.js https://github.com/hakimel/reveal.js/releases
November 12, 2021 at 04:42PM
The text was updated successfully, but these errors were encountered: