Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive JS graphics ? #175

Open
j-fu opened this issue Nov 14, 2023 · 2 comments
Open

Interactive JS graphics ? #175

j-fu opened this issue Nov 14, 2023 · 2 comments

Comments

@j-fu
Copy link

j-fu commented Nov 14, 2023

Hi, is there any way to make javascript based graphics work in the generated html/md ?
As a matter of fact, it works in html output from Pluto. However I do not know the details.

A notebook containing what is desirable (IMHO) is here.

@rikhuijzer
Copy link
Owner

Hi, my guess is that Pluto implements that by embedding a static blob in the HTML output and loading some Javascript library. Next, the library reads the blob and converts it to a nice image.

If that is the case, then it should be possible in PlutoStaticHTML to view the image too. However, implementing it is not high on my priority list, so I'll probably won't do it. PRs are welcome though.

@j-fu
Copy link
Author

j-fu commented Nov 14, 2023

Ok, thanks, I see that in principe it might be possible. Not sure if I will find time for a PR, but will keep this in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants