-
Notifications
You must be signed in to change notification settings - Fork 332
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
Lightbox fails with computational cells in self-contained HTML docs #6892
Comments
Thanks for the report! Could you edit your post to make your example usable? You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````qmd
---
title: "Reproducible Quarto Document"
format: html
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.
```{r}
plot(cars)
```
The end.
```` |
@mcanouil - sure thing, just edited it now. |
Note to self, this is a result of the fact that the way Lightbox works is is by creating a |
Just for reference with initial issue on this front: |
I have the same issue. Do you think it is possible to fix it in a next release ? |
Bug description
Using the v1.4 pre-release, the lightbox feature fails when the HTML is self-contained. It works perfectly when not self-contained, but when resources are embedded nothing pops up:
And you get this message in the render screen:
Steps to reproduce
Expected behavior
I would expect that, on clicking on the plot, a lightbox should show containing a big version of it.
Actual behavior
Instead, a circle spins infinitely with the background shaded out, as pictured above. The RStudio render pane complains about failing to find the PNG file.
Your environment
Quarto check output
The text was updated successfully, but these errors were encountered: