You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTMLMath: MathJax is not rendered in voila preview or standalone.
This happens if the markdown is loaded after the widget is rendered.
Please see example below.
from ipywidgets import *
b = Button(description='press')
t = HTMLMath()
def click(obj):
t.value = '$$\int x \, dx$$'
b.on_click(click)
VBox((t,b))
When the button is pressed, the latex string shows up in raw format in edit field instead of being rendered as maths.
It works fine, though, in JLab and notebook.
The text was updated successfully, but these errors were encountered:
parkey
changed the title
MathJax does not render after HTMLMath widgets is created.
MathJax does not render after HTMLMath widget is created
Apr 3, 2020
HTMLMath: MathJax is not rendered in voila preview or standalone.
This happens if the markdown is loaded after the widget is rendered.
Please see example below.
When the button is pressed, the latex string shows up in raw format in edit field instead of being rendered as maths.
It works fine, though, in JLab and notebook.
The text was updated successfully, but these errors were encountered: