Julia: running code blocks in Juno / Atom

Viewed 716

Whenever I try to 'run block' to run a block of Julia code in Atom, it just runs the currently selected line. I don't understand what's wrong. I've tried all the different delimiters ('##', '# %%', and '# --') and it still isn't recognizing code blocks. The formatting itself also suggests it's not recognizing the block delimiters.

What am I doing wrong?

2 Answers

The block delimiter is ## with a space after the second octothorpe. Try, for example, ## ---

I just reinstalled Juno/Atom/Julia fresh and everything worked out.

Related