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

HTML export no longer shows up in htmlpreview.github.io #1162

Closed
mossr opened this issue May 15, 2021 · 6 comments
Closed

HTML export no longer shows up in htmlpreview.github.io #1162

mossr opened this issue May 15, 2021 · 6 comments
Labels
publishing Notebooks as static documents on the web

Comments

@mossr
Copy link
Contributor

mossr commented May 15, 2021

Exporting to HTML and then using htmlpreview.github.io to display the rendered HTML as a link no longer works.

Does not work in Pluto version v0.14.2 (not sure at what version it stopped working). Previously worked in version v0.12.20.

Here's an example of it failing with the corresponding .jl code (v0.14.2):

Here's an example of it working (v0.12.20):

Note that opening the HTML file locally in my browser (Chrome) works fine. Also, I've tried running Pluto with Pluto.run(require_secret_for_open_links=false, require_secret_for_access=false) but that did not fix it.

@fonsp
Copy link
Owner

fonsp commented May 17, 2021

This is a problem with htmlpreview.github.io, which might be unavoidable due to their design, and I don't think that it is within our scope to fix it.

@mossr
Copy link
Contributor Author

mossr commented May 17, 2021

Is there another option to display static Pluto HTML notebooks online? It'd really be a huge bummer without something like htmlpreview (it's soooo useful for sharing notebooks online both for personal use and for university courses).

@fonsp
Copy link
Owner

fonsp commented May 17, 2021

Good point!

I made a site similar to htmlpreview that uses a more stable mechanism, and it works for Pluto notebooks:

https://htmlview.glitch.me/

@mossr
Copy link
Contributor Author

mossr commented May 17, 2021

Oh Fons, that's perfect! Thank you for sharing

@fonsp
Copy link
Owner

fonsp commented May 17, 2021

htmlpreview/htmlpreview.github.com#102

@fonsp fonsp closed this as completed May 17, 2021
@fonsp fonsp added the publishing Notebooks as static documents on the web label Oct 30, 2023
@simona70
Copy link

Thx for https://htmlview.glitch.me/ :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
publishing Notebooks as static documents on the web
Projects
None yet
Development

No branches or pull requests

3 participants