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

Enabling preview button on raw .py files in Jupyter Lab #122

Open
alexveden opened this issue May 10, 2024 · 0 comments
Open

Enabling preview button on raw .py files in Jupyter Lab #122

alexveden opened this issue May 10, 2024 · 0 comments

Comments

@alexveden
Copy link

Thanks for contacting us! Please read and follow these instructions carefully, then delete this introductory text to keep your issue easy to read. Note that the issue tracker is NOT the place for usage questions and technical assistance; post those at Discourse instead. Issues without the required information below may be closed immediately.

Is your feature request related to a problem? Please describe.

I'm using plain text notebooks rendered by Jupytext lib, which are essentially raw python files with %% delimiters. But I've found that Panel Preview button is only available for '.ipynb' files. Could you add such functionality into plugin?

Describe the solution you'd like

Enabling registering preview plugin button for all .py files.

Describe alternatives you've considered

Also, it might be useful to have field in options for other file types, for example Jupytext is capable to render .md as notebooks too.

Additional context

image

Thanks

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

No branches or pull requests

1 participant