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
I was attempting to port my mathjax setup to 2.x (for 1.x I had used this approach), I attempted to follow the documentation but this configuration was not recognized:
widgets/mathjax/mathjax.html
{{{ widgets.mathjax.mathjax }}}
However, it did work with
widgets/mathjax/default.html
{{{ widgets.mathjax }}}
which I reverse-engineered out of the unit tests (yay!)
User error or bug?
I had cloned at 3c4a80eef9c4e289fcca8bcb230f9febb6ee2455
The text was updated successfully, but these errors were encountered:
To use the "mathjax.html" snippet you would have to define that in config.yml. By default, all widgets use the "default.html" snippet template.
#config.ymlwidgets :
mathjax :
use : mathjax
Now calling {{{ widgets.mathjax }}} will load the "mathjax.html" snippet template.
Widgets are a tricky thing still. I'm very eager to get feedback on the overall design as I think they have a long way to go but overall the problem is a hard one.
Let me know if that helps and also please keep me in the loop with your mathjax progress -- I definitely want to get support for that as lots of users seem to be data science types =)
Ah user error it is then, thanks for clearing that up.
Cobbling together that previous discussion I was able to get a satisfactory mathjax setup - I've documented that (and other minor tweaks) on my README.
Thanks again for the helpful explanation and all the work on this tool!
I was attempting to port my mathjax setup to 2.x (for 1.x I had used this approach), I attempted to follow the documentation but this configuration was not recognized:
widgets/mathjax/mathjax.html
{{{ widgets.mathjax.mathjax }}}
However, it did work with
widgets/mathjax/default.html
{{{ widgets.mathjax }}}
which I reverse-engineered out of the unit tests (yay!)
User error or bug?
I had cloned at 3c4a80eef9c4e289fcca8bcb230f9febb6ee2455
The text was updated successfully, but these errors were encountered: