Giter Site home page Giter Site logo

Comments (3)

njpipeorgan avatar njpipeorgan commented on June 8, 2024

Thanks! I do have this plan of importing .nb notebooks, but the complexity of .nb notebooks will be a problem--here are a few examples:

  • input cells may contain two-dimensional expressions (and images!), which cannot be represented in vscode notebooks (maybe using their input forms?)
  • output cells may contain very large expressions, which takes a long to render, which is probably okay.
  • other cells should be converted to markdown cells in vscode notebooks, but it can be quite tricky to parse the expressions and get a visually appealing markdown in terms of styling.

To what level do you think the importing feature will be usable?

from wolfram-language-notebook.

sunt05 avatar sunt05 commented on June 8, 2024

My intention for this feature is simply to ease the access of my Mathematica code in .nb files, which are mostly written with cells of different default styles including header, text, code and in/output.

Given the popularity of jupyter notebooks (i.e. .ipynb), I think equivalent functionality as in .ipynb should be enough for the vs code environment: it's not necessary to achieve full compatibility between .nb and .wlnb/.ipynb; otherwise, folks can use Mathematica instead.

While for your examples/concerns above, I fully understand the underlying difficulties; but I'm wondering if this project would be useful? https://github.com/oovm/JupyterConvert
Potentially, the JupyterConvert utility may serve as a connector between .nb and .wlnb (i.e. .nb-->ipynb-->.wlnb)?

from wolfram-language-notebook.

njpipeorgan avatar njpipeorgan commented on June 8, 2024

Sounds great, I'll check out JupyterConvert.

from wolfram-language-notebook.

Related Issues (20)

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.