Closed tobyhodges closed 1 year ago
The equations in example lesson are not properly rendered:
Thank you @CunliangGeng for bringing this up!
In short, I do not think we will be fixing this issue for three reasons:
One potential solution for you would be to copy this javascript.html file into your _includes/ folder, which would enable mathjax and fonts for your repo (note: this is what the original author of the math support opted to do).
@zkamvar I wonder if we should remove the section from the Lesson Example documentation? It's a relatively quick "fix" that will prevent people from running into the same problem again between now and May.
I agree with @tobyhodges and think we should document a solution like @zkamvar has listed above. That solution did not seem to fix it for me.
Maybe just mention that adding the following at the top of the .md
files where math is needed should be enough.
<script type="text/javascript" async
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
The template now supports rendering of equations in LaTeX syntax and this should be documented in the Lesson Example. I believe the appropriate place would be
04-formatting.md
.