p5js-block icon indicating copy to clipboard operation
p5js-block copied to clipboard

Single line comments break the block (?)

Open realsoc opened this issue 4 years ago • 0 comments

Hi there! First of all, thanks for the plugin. It got the impression that a simple line comment breaks the block. I still have the preview on the creation block, but the block doesn't show in the final article. It seems that everything is minified in a single line in the real article. maybe that's why (?) 🤔

To reproduce :

// A comment
function setup() {
  createCanvas(300, 300);
  background(0);
}

function draw() {}

realsoc avatar May 08 '20 11:05 realsoc