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
Thanks for the MathJax support in the latest Dash version 🎉 I've been trying it out today, and there is small detail that (if possible to solve) would make it easier to integrate in our application.
We currently use dcc.Markdown(content, dangerously_allow_html=True) where user content has been through bleach and includes some allowed content pre-processed by us (e.g. <img> with text caption / centering support etc, <details>/<summary> parts).
It looks like dangerously_allow_html=True + mathjax=True works in some cases, and in some cases not. Given
Thanks for the MathJax support in the latest Dash version 🎉 I've been trying it out today, and there is small detail that (if possible to solve) would make it easier to integrate in our application.
We currently use
dcc.Markdown(content, dangerously_allow_html=True)
where user content has been throughbleach
and includes some allowed content pre-processed by us (e.g.<img>
with text caption / centering support etc,<details>/<summary>
parts).It looks like
dangerously_allow_html=True
+mathjax=True
works in some cases, and in some cases not. Giventhese are some experiments:
Easy fix to support the given combination of arguments to
dcc.Markdown
? If not we could reconsider our use case of supporting allowed html tags 🙂The text was updated successfully, but these errors were encountered: