algorithm-archive
algorithm-archive copied to clipboard
Mathjax not supported within method fortheme-api
Bug Report
Mathjax (LaTeX) does not seem to work in the method blocks for the theme-api
Description
The following will only show the part of the method section that appears after the mathjax code
{% method %}
{% sample lang="lang" %}
This will be shown
$$x=5$$
This will not
{% endmethod %}
Steps to Reproduce
Steps to reproduce the behavior:
- Build AAA with the above block
- Check results
Expected behavior
Ideally, the LaTeX is rendered within the method
Additional context
We should probably leave this issue open for gitbook2, whenever we start to develop it
For Algorithm Archive Developers
- [x] The bug can be reproduced
- [ ] The bug can be fixed (if not, please explain why not in a comment below)
- [ ] There is a timeline to fix the bug
- [ ] The bug has been fixed (Please link the PR)
The reproduction works on my computer.
Only This will be shown will be shown, neither $$x=5$$ or something after.
Thanks for doing that!