Stephen Hallett created ZEPPELIN-6153:
-----------------------------------------

             Summary: Zeppelin notebooks exported to ipynb format displaying 
correctly in GitHub
                 Key: ZEPPELIN-6153
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-6153
             Project: Zeppelin
          Issue Type: Improvement
          Components: zeppelin-client
    Affects Versions: 0.11.1
            Reporter: Stephen Hallett


If Zeppelin is used to export a notebook to the 'ipynb' format, then this file 
will +not+ display correctly once loaded into a GitHub repository.

Investigating this, it seems the initial metadata section at the very top of 
the ipynb file omits a '{*}display_name{*}' value. If this is added manually 
then GitHub will display the file correctly.

To fix this, my suggestion is that a +default value+ is added to the ipynb file 
when exported as below:

  "metadata": {
    "name": "HelloWorld",
    "kernelspec": {
      *"display_name": "Zeppelin",*
      "language": "scala",
      "name": "spark2-scala"
    },



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to