Skip to content

Feature Request: infer target format by extension if --to option is omitted #2174

Open
@romeokienzler

Description

@romeokienzler

I'm running the following command:
jupyter nbconvert WFMTutorial.ipynb WFMTutorial.py

As expected, this is the error message:

`The following formats are available: ['asciidoc', 'custom', 'html', 'latex', 'markdown', 'notebook', 'pdf', 'python', 'qtpdf', 'qtpng', 'rst', 'script', 'slides', 'webpdf']

It would be nice of in the above case semantically the following command would be inferred:

jupyter nbconvert WFMTutorial.ipynb --to script

I think it would work for most of the formats
`

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