Code Monkey home page Code Monkey logo

vscode-nbconverter's People

Contributors

dependabot[bot] avatar yigitozgumus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vscode-nbconverter's Issues

Documentation to install package??

Looks like a cool tool for raw Python files conversion. I am not very well-versed in Javascript programming or installing VSCode Javascript extensions. Could you please add a few sentences explaining how to install, configure, and use this code converter in VSCode?

Thank you.

Richard

Support for second level head

Hi,

This is really a useful tool. I am using this tool to convert markdown file to Jupyter notebook file.

Is it possible to also support second-level head in the markdown file? I guess now the markdown area cannot be mixed with the code area? For example, is it possible to generate a first- and second- level heads between two code areas?

Thanks.

Bugs in python code in README

Hi.

This is a minor issue, but the python script in the README has two errors.
These errors do not affect the conversion, it is just to make the README look nicer.

Here is a diff between the README code and a corrected version.

 18c18
 < import matplotlib.pyplot all_plt
 ---
 > import matplotlib.pyplot as plt
 22c22
 < plt(x,y)
 ---
 > plt.plot(x,y)

Conversion not working

Hi,

I am trying the nbconverter on the python script in the README file.
Unfortunately it is not working properly.

My environment:

Ubuntu Linux: 16.04
VS Code: 1.25.1
jupyter notebook converter: 1.4.0
jupyter notebook: 5.6.0

Description

The conversion seems to work, I get no error messages in vs code.
When I try to open the notebook only the first markdown cell and the first code cell
shows up. I get a pop-up window with the following error messages

-------------- 8< --------------

The error was:

TypeError: Cannot read property 'length' of undefined
See the error console for details.

The notebook also failed validation:

Notebook validation failed: 'outputs' is a required property:
{
"cell_type": "code",
"metadata": {
"trusted": false
},
"source": """"\nThis will be another comment line\nfor the testing of the different sections\n"""\nimport numpy as np\na = np.array([[1,1]])\n# one line comment test\nprint(a.shape)\nprint(a)\n""" this is a test\ncomment for the multi\nline command block"""\n"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.