Fix tutorial authoring for getting started (#885)

* Fix tutorial authoring for getting started

Remove extra new lines

* Fix other tutorials
This commit is contained in:
Sam El-Husseini
2018-06-21 16:02:19 -07:00
committed by GitHub
parent d7f9280dc7
commit 2e9cb3c43b
7 changed files with 35 additions and 38 deletions

View File

@ -11,8 +11,7 @@ input.onButtonPressed(Button.A, () => {
## Step 2
Place a ``||basic:show leds||`` block inside ``||input:on button pressed||``
to display a smiley on the screen.
Place a ``||basic:show leds||`` block inside ``||input:on button pressed||`` to display a smiley on the screen.
```blocks
input.onButtonPressed(Button.A, () => {
@ -32,8 +31,7 @@ Click ``|Download|`` to transfer your code in your @boardname@ and try pressing
## Step 4
Add ``||input:on button pressed||`` and ``||basic:show leds||`` blocks to
display a frowney when button **B** is pressed.
Add ``||input:on button pressed||`` and ``||basic:show leds||`` blocks to display a frowney when button **B** is pressed.
```blocks
input.onButtonPressed(Button.B, () => {
@ -53,8 +51,7 @@ Click ``|Download|`` to transfer your code in your @boardname@ and try pressing
## Step 6
Add a secret mode where ``A`` and ``B`` are pressed together.
In that case, add multiple ``||basic:show leds||`` blocks to create an animation...
Add a secret mode where ``A`` and ``B`` are pressed together. In that case, add multiple ``||basic:show leds||`` blocks to create an animation...
```blocks
input.onButtonPressed(Button.AB, () => {