Skip to content

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

@alexveden

Description

@alexveden

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions