5 ms·
Can jupyter do tables and diagrams followed by code snippets in multiple languages?
by base698 10y ago
Can jupyter do tables and diagrams followed by code snippets in multiple languages?
- Y_Y 10y agoYes. You can use cell magic to change the language for each cell and you can display HTML/latex output inline or just mix computations in with markdown. The only problem is that the editor is just a text box with annoying bracket matching instead of Emacs.
- Steeeve 10y agoI really want to like Jupyter. But taking notes or working through things in a textbox element just doesn't cut it. If I could build my notebooks in emacs... But then org mode has most of the same functionality.
- matt-noonan 10y agoOh, but you can! Check out ein-mode: https://tkf.github.io/emacs-ipython-notebook/ https://tkf.github.io/emacs-ipython-notebook/
- peatmoss 10y agoMy biggest Jupyter complaint is that, at least by default, produces files that are pretty hard to revision meaningfully in git.
- Y_Y 10y agoThe jupyter team are aware of, but not currently fixing, this issue. I use the excellently simple nbstripout as git hook and it silently removes everything but code.
- dangom 10y agoYou actually can: http://kitchingroup.cheme.cmu.edu/blog/2017/01/21/Exporting-org-mode-to-Jupyter-notebooks/ http://kitchingroup.cheme.cmu.edu/blog/2017/01/21/Exporting-...
- gpderetta 10y agoHave yet to try it myself, but allegedly you can run a Jupiter notebook inside emacs: https://github.com/millejoh/emacs-ipython-notebook https://github.com/millejoh/emacs-ipython-notebook Seems the best of both worlds! Now, is there a elisp notebook (or is it just emacs)?.
- partycoder 10y agoA lot of the things in the article are supported. You can format text and tables via Markdown, add MathJax equations, etc. Then you can write down code, evaluate it, and it can evaluate to images as well... charts and such. You can optionally export the resulting document to HTML and share it in static form, or just share a link to the notebook. In addition, github supports Jupyter notebooks.
- leblancfg 10y agoBoth serve a similar purpose, but are not exactly equivalent. I use Org to take notes and write prose. I guess Jupiter could be extended enough to support many features that Org provides... I guess it boils down to having a hierarchical vs sequential document as the base form, really.
- partycoder 10y agoBoth are for taking notes (therefore the name Jupyter notebook). Jupyter may already be more featured than org-mode through the kernels it embeds. e.g: SageMath alone is gigantic. Then, if you don't enjoy the web interface you can use it within emacs if so you prefer. https://github.com/millejoh/emacs-ipython-notebook https://github.com/millejoh/emacs-ipython-notebook