Skip to content

fix: enable preview commands in any ipynb editor#1001

Merged
seeM merged 1 commit into
mainfrom
fix/ipynb-preview
Jun 11, 2026
Merged

fix: enable preview commands in any ipynb editor#1001
seeM merged 1 commit into
mainfrom
fix/ipynb-preview

Conversation

@seeM

@seeM seeM commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Enables "Preview" and "Preview Format" commands in any .ipynb editor, since they do work in that case. Fixes posit-dev/positron#9792.

Here's what it looks like in the Positron Notebook Editor:

image

@seeM seeM requested a review from vezwork June 11, 2026 08:27
@posit-snyk-bot

posit-snyk-bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@seeM seeM force-pushed the fix/ipynb-preview branch from 9940c8e to aaacfda Compare June 11, 2026 08:29

@vezwork vezwork left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haven't tested yet, but if you've tried it in both Vscode and Positron, and after you add a changelog entry, please go ahead and merge (if you have permissions to). Otherwise I'll test, add changelog, and merge later.

@seeM seeM force-pushed the fix/ipynb-preview branch from aaacfda to c7a5163 Compare June 11, 2026 17:17
@seeM seeM merged commit a9d9c44 into main Jun 11, 2026
5 checks passed
@seeM seeM deleted the fix/ipynb-preview branch June 11, 2026 17:34
@vezwork

vezwork commented Jun 11, 2026

Copy link
Copy Markdown
Member

I tested this on main after it was merged. I downloaded the ipynb from https://jupyter.org/try-jupyter/lab/ and opened it in the notebook editor in vscode. I then clicked the three dots in the upper right and clicked Preview. I got an info toast "No Quarto document available to render" and nothing else happened. I got the same result when I clicked Preview Format. Notably, convert to .qmd does work fine.

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

Successfully merging this pull request may close these issues.

Positron Notebooks: Preview/render with Quarto

3 participants