I tried to export some slides containing math equations from slides.com to reveal.js recently and ran into several problems.
The default theme.css exported contains the following line: .reveal .sl-block[data-block-type="math"] .math-input{display:none}. This blocks math from showing at all.
The default \<body> exported does not wrap literal math in \$\$ or similar. This stops them from being displayed by KaTeX.
The instructions do not mention that <script src="plugin/math/math.js"></script> must be added by the rest of the plugins.
The Reveal.initialize instructions do not mention that RevealMath.KaTeX must be added
I'm reporting this here because for the last two points, perhaps math could be treated as a default plugin in reveal.js? Then slides.com could wrap math in KaTeX identifiers and remove the display:none line and have math work by default.
Hello,
I tried to export some slides containing math equations from slides.com to reveal.js recently and ran into several problems.
.reveal .sl-block[data-block-type="math"] .math-input{display:none}
. This blocks math from showing at all.<script src="plugin/math/math.js"></script>
must be added by the rest of the plugins.RevealMath.KaTeX
must be addedI'm reporting this here because for the last two points, perhaps math could be treated as a default plugin in reveal.js? Then slides.com could wrap math in KaTeX identifiers and remove the
display:none
line and have math work by default.