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

Quarto presentation: embedded PDFs do not appear in viewer pane #6786

Open
anbrav0 opened this issue Mar 14, 2025 · 2 comments
Open

Quarto presentation: embedded PDFs do not appear in viewer pane #6786

anbrav0 opened this issue Mar 14, 2025 · 2 comments
Labels
area: quarto Issues related to Quarto category. area: viewer Issues related to Viewer category. enhancement New feature or request

Comments

@anbrav0
Copy link

anbrav0 commented Mar 14, 2025

System details:

Positron and OS details:

Positron Version: 2025.04.0 (Universal) build 64
Code - OSS Version: 1.96.0
Commit: b25e18713d464fb01352d31f7a165f1fb79d42c4
Date: 2025-03-10T02:32:22.057Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.1.0

Interpreter details:

R version 4.4.2

Describe the issue:

When rendering a Quarto presentation in Positron, embedded PDF do not appear in viewer pane, like they do in the presentation pane in RStudio.

Steps to reproduce the issue:

  1. embed the following linked PDF in your quarto presentation in both RStudio and Positron
{{< pdf https://cancercontrol.cancer.gov/sites/default/files/2020-06/SGA_8631772.pdf width=400 height=600 >}}
  1. Observe difference in behavior

Expected or desired behavior:

For the embedded PDF viewed to display interactively similarly to how RStudios shows this in the presentation pane

Were there any error messages in the UI, Output panel, or Developer Tools console?

NA

Additional Context

Currently in Positron, I have a presentation that has a PDF embedded within the quarto doc that exists on the web like so:

Image

In R Studios this PDF that is embedded in the Quarto document displays interactively in the presentation like so:

Image

this difference in behavior when rendering a Quarto presentation document is not limiting because if you were to pop this open to the browser the embedded PDF works as intended like so:

Image

I am curious if there is any way that the same behavior that is displayed in RStudios, in that, you're able to interact (e.g., scroll) with the embedded PDF can be implemented in Quarto presentation. Additionally, please let me know if this just may be a limitation of quarto extension or if there is a more relevant issue page this might better belong in.

Thank you all so much for a wonderful IDE!!

@softwarenerd
Copy link
Contributor

@anbrav0, thanks for the issue. We will add this to our backlog and update its status when we have had a chance to prioritize the work that's involved.

@softwarenerd softwarenerd added area: quarto Issues related to Quarto category. area: viewer Issues related to Viewer category. enhancement New feature or request labels Mar 14, 2025
@juliasilge
Copy link
Contributor

Related to #4201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: quarto Issues related to Quarto category. area: viewer Issues related to Viewer category. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants