When I try download as ipynb I get JSON. I try download as py I get HTML
Hi: this can easily get confusing. A jupyter notebook’s format is json. It should be a list of cells with types like “code” or “markdown”, plus outputs and some metadata about the notebook as a whole.
In case you’re interested, this mix of source input and output all in one file means that source control needs care! Clearing all outputs before committing helps.