fix: enable preview commands in any ipynb editor#1001
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
vezwork
left a comment
There was a problem hiding this comment.
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.
|
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. |
Enables "Preview" and "Preview Format" commands in any
.ipynbeditor, since they do work in that case. Fixes posit-dev/positron#9792.Here's what it looks like in the Positron Notebook Editor: