Jupyter Notebook integration for Obsidian?

Can there be Jupyter integration as a plugin in obsidian?

14 Likes

+1: Perfect for writing notes on programming!

2 Likes

How are you imagine this to work? Can you explain user case?

I don’t think is it is necessary to explain a user case.
Consider these statements:
:point_right: Obsidian is based on some browser technology.
:point_right: Jupyter requires a browser to run.
:point_right:Both support markdown and rendering into webpages.

So obviously, if you blend them in a mixer you get:
>‘Obsidian supports the Jupyter notebook file format’

So this way you got to manage, manipulate markdown files as well as Jupyter notebook files in the same vault.

1 Like

Just research if you can iFrame object from Jupiter… Then you just add iFrame object into Obsidian, and that right now.

the use case is taking notes on programming topics where you want the notes to be linked. you could keep notes on the abstractions(the general or mathematical notion of what something is) separate from the implementations, except within the implementation notes(in a jupyter notebook) would have a runnable example.

I looked it up and it is possible to run jupyter notebooks in an iframe. here’s a tutorial from someone doing so to run a notebook on their website

2 Likes

I use jupytext to pair a jupyter Notebook with a markdown document, where changes to one are mirrored in the other.

I use it for studying purposes, mainly in Data Science, creating an easy to access corpus of useful scripts or best practices.

1 Like

VSCode has Jupyter capabilities built directly into it. You can open VSCode directly on your vault folder alongside Obsidian, I do it all the time for certain file manipulations and to edit CSS etc.

I heavily recommend against adding coding capabilities to Obsidian. Atom and VSCode already exist with those capabilities. Obsidian is a note taking platform, key difference.

It’s not Jupyter, but I did create a plugin to integrate with SageMathCell:

This will automatically evaluate code blocks of the language “sage” upon markdown render. By default a community server is used, so there’s virtually no setup.

Note that graphs and other forms of fancy output are not supported at this time, though I would like to support them in the near future.

I personally use this to explore concepts in computational mathematics. It’s pretty sweet to be able to evaluate code alongside my notes.

1 Like