do jupyter magic-commands work on vscode?

Viewed 414

I was trying to use the javascript magic commands in a jupyter notebook to modify some html on vscode, but it didn't work. is there a way to make it work? Here is what im trying to do.

%%html
<div id="test">Hello</div>
%%javascript
document.getElementById("test") = "Hello js"

Images of the notebooks.

vscode-jupyte-notebook

jupyter-notbook

0 Answers
Related