Injecting JavaScript
Hi there, I had a question about injecting javascript into a marimo.Html object. We currently have a need to utilize 3dmol.js (http://3dmol.csb.pitt.edu/) to visualize and manipulate molecules in 3D. What seems like the easiest way at the moment is injecting into a marimo Html component, but it seems like it is not executing, which based on an answer to a previous question, later realized is likely blocked because of security reasons (which makes sense). Is a way around this anyone would suggest?
1 Reply
We have support for anywidget if that would work. You can run JavaScript through there. We could revisit bringing back something like mo.js that will safely run it