electronjs.org-old icon indicating copy to clipboard operation
electronjs.org-old copied to clipboard

Improve instructions / CTA on Spectron

Open bnb opened this issue 5 years ago • 2 comments

Currently, the Spectron instructions are a single code block that includes both the npm install command and actual JavaScript code example:

image

Ideally, this would be two distinct sections, with one syntax highlighted as bash and one syntax highlighted as JavaScript. Each would have unique instructions.

bnb avatar Sep 23 '20 19:09 bnb

Hey @bnb, I tried to address this in my PR. Is this what you were thinking? image

stevejoachim avatar Oct 08 '20 21:10 stevejoachim

perfect

bnb avatar Oct 08 '20 22:10 bnb