Closed rodrigo-j-goncalves closed 2 weeks ago
It sounds like the issue arises because Quarto doesn't automatically include the KaTeX dependency unless it detects a math environment in the slides.
To resolve the issue, you can manually add KaTeX using include-in-header
:
---
title: "Animate-graph Example - doesn't work"
format:
revealjs:
include-in-header:
- text: |
<script src="https://cdn.jsdelivr.net/npm/d3@7"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.9/katex.min.js"></script>
html-math-method: katex
revealjs-plugins:
- animate-graph
---
Please let me know if this doesn't work.
Yes it works perfectly fine!!! Thanks so much :) I changed the title to make it more descriptive. Thanks for this wonderful plugin!!
Below I show two Quarto files:
The math notation of the XY plot is rendered correctly only in the second one.
What am I doing wrong?
Thanks for this plugin!
This is the code of the first quarto file:
and this is the code for the 2nd file: