'Javascript in VSCode Jupyter notebook not showing output
I'm using VS Code, and was wondering if the Jupyter Notebook support also supports Javascript. Looking around online it looks like it should, but I am unable to produce any output.
This python code shows output "test":
print("test")
This JS code does not show any output:
%%javascript
console.log("test");
This JS code also does not show any output:
%%javascript
element.text("test");
And because I'm desparate, I've also tried this:
%%javascript
element.text = "test";
I have no clue what it is I am doing wrong...
VS Code, Python extension and Jupyter extension are all up to date.
Solution 1:[1]
I started using this extension and it is working perfectly.
https://marketplace.visualstudio.com/items?itemName=lostfields.nodejs-repl
I think it is not the same as Jupyter but it was enough for me.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Nour |
