Running md files in Julia REPL in VS code

Viewed 137

I have a MD file which I want to debug and make sure it works properly. I like to run its code cells one by one in Julia REPL. How can I do that in VS Code?

1 Answers

You should first install the Julia for VSCode extension and follow its setup instructions. Then you just start cells with the magic comment ##, and then use the command "execute code cell in REPL" or its keyboard shortcut. Example file:

##
println("first")

##
println("second")
Related