Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export instructions from slides.com do not work for math #3657

Open
omentic opened this issue Jul 11, 2024 · 0 comments
Open

Export instructions from slides.com do not work for math #3657

omentic opened this issue Jul 11, 2024 · 0 comments

Comments

@omentic
Copy link

omentic commented Jul 11, 2024

Hello,

I tried to export some slides containing math equations from slides.com to reveal.js recently and ran into several problems.

  1. 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.
  2. The default <body> exported does not wrap literal math in $$ or similar. This stops them from being displayed by KaTeX.
  3. The instructions do not mention that <script src="plugin/math/math.js"></script> must be added by the rest of the plugins.
  4. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant