Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Jupyter Notebooks through javascript code files support. #15

Open
liudonghua123 opened this issue Mar 10, 2022 · 0 comments
Open

Jupyter Notebooks through javascript code files support. #15

liudonghua123 opened this issue Mar 10, 2022 · 0 comments

Comments

@liudonghua123
Copy link

It's really amazing to write python code along with markdown in vscode via Jupyter Notebooks support. From the doc https://code.visualstudio.com/docs/python/jupyter-support-py, I can write the following code snippets in a .py file and run each cell.

# %% [markdown]
# This is a markdown cell.

# %%
print("hello world")

I would also like to write js code like above in .js not .py file with the same coding experience. Maybe the code like the following.

// %% [markdown]
// This is a markdown cell.

// %%
// This is a code cell.
console.info("hello world")

However, I can only write js code with markdown in a .py file right now. I hava installed ijavascript and jp-babel jupyter kernel for js support.

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant