Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Problems using reveal.js-math in conjunction with asciidoctor #1

Closed
aanno opened this issue Oct 11, 2021 · 2 comments
Closed

Problems using reveal.js-math in conjunction with asciidoctor #1

aanno opened this issue Oct 11, 2021 · 2 comments

Comments

@aanno
Copy link

aanno commented Oct 11, 2021

I read about the reveal mathjax 3 issue and decided to give your solution a try by using it for the presentation.adoc example of my sample project at https://github.com/aanno/ad-reveal.

If I generate presentation.html, there is a sample equation on slide 3 rendered correctly.

Next step is to hack the resulting presentation.html with the changes you suggests in the readme (after installing reveal.js-math of course). However, I did not arrive at anything. I seems that rendering does not work. Certainly, I'm quite sure that your code works for you. Hence I suspect that there is some interference between reveal.js-math and asciidoctor.js that brakes the rendering.

@aanno
Copy link
Author

aanno commented Oct 11, 2021

According to https://docs.asciidoctor.org/asciidoctor/latest/stem/ asciidoctor supports MathJax 2 only. I wonder if I should expect MathJax 3 to work with it...

@burgerga
Copy link
Owner

Oof, I wouldn't know, from my short look at it, it looks like stem is including reveal directly which includes only the mathjax 2.
However I think that should be resolved once hakimel merges reveal.js-math into the core reveal :)

@burgerga burgerga closed this as completed Nov 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants