algorithm-archive icon indicating copy to clipboard operation
algorithm-archive copied to clipboard

Mathjax not supported within method fortheme-api

Open leios opened this issue 6 years ago • 2 comments

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:

  1. Build AAA with the above block
  2. 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)

leios avatar Apr 28 '19 09:04 leios

The reproduction works on my computer. Only This will be shown will be shown, neither $$x=5$$ or something after.

dovisutu avatar May 03 '19 14:05 dovisutu

Thanks for doing that!

leios avatar May 03 '19 20:05 leios