-
Notifications
You must be signed in to change notification settings - Fork 335
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
::: {.content-hidden unless-format="html"}
with plotly
seems to end up in pdf output
#3254
Comments
The processing of In knitr specifically, you can use |
That makes sense. I think it was discussed at some point whether it is possible to prevent execution, but with independent engines it seems hard. However, I still wonder about
Because if we render to html and look at the intermediat markdown generated by
which renders to pdf just fine with quarto. So I think the safeguard in quarto to check for html-producing functions is overeager in this case. |
Interestingly, if I ignore this error with
end up raw in the So, not using |
Run into the same issue. Tried to deactivate all cells containing HTML within |
@jmbuhr @katossky just to add some explanation context as I am passing by:
|
FWIW this has been fixed already and not the OP example works ok. No leakage anymore in the .tex file of the HTML dependencies. |
Bug description
There seems to be an issue with plotly inside of divs that normally shouldn't be run and displayed e.g. in the following qmd file:
quarto version: 1.2.269
Checklist
The text was updated successfully, but these errors were encountered: