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

MathJax and reveal.js #3743

Closed
dotlambda opened this issue Jun 18, 2017 · 1 comment
Closed

MathJax and reveal.js #3743

dotlambda opened this issue Jun 18, 2017 · 1 comment

Comments

@dotlambda
Copy link

When using MathJax with reveal.js, the output looks rather ugly:
2017-06-18-020850_1920x1080_scrot
This is taken from example16d.html from https://pandoc.org/demos.html.

But there is a reveal.js plugin that generates better output:
2017-06-18-000217_1920x1080_scrot
This was generated using the same command, i.e.

pandoc -s --mathjax -i -t revealjs SLIDES -o example16d.html

but a modified default.revealjs template that includes

dependencies: [
  // ...
  { src: '$revealjs-url$/plugin/math/math.js', async: true },
  // ...
]

I think that the we should handle the --mathjax option this way when used in combination with reveal.js.

@jgm jgm closed this as completed in ec3992b Jun 18, 2017
@jgm
Copy link
Owner

jgm commented Jun 18, 2017

Thanks, I didn't know about this.

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

2 participants