Add respective namespaces to the authoring of inline blocks and buttons (#500)

This commit is contained in:
Sam El-Husseini
2017-08-09 22:00:53 -07:00
committed by GitHub
parent 9d38c61457
commit e863363ed2
4 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@
## Step 1
Place the ``||show leds||`` block and paint a heart.
Place the ``||basic:show leds||`` block and paint a heart.
```block
basic.showLeds(`
@ -20,7 +20,7 @@ Click ``|Download|`` to transfer your code in your @boardname@!
## Step 3
Place another ``||show leds||`` block under the heart to make it blink.
Place another ``||basic:show leds||`` block under the heart to make it blink.
```block
basic.showLeds(`
@ -39,7 +39,7 @@ basic.showLeds(`
## Step 4
Place the blocks inside the ``||forever||``
Place the blocks inside the ``||basic:forever||``
to repeat the animation.
```block
@ -66,7 +66,7 @@ Click ``|Download|`` to transfer your code in your @boardname@!
## Step 6
Place more ``||show leds||`` blocks to create your own animation.
Place more ``||basic:show leds||`` blocks to create your own animation.
```block
basic.forever(() => {

View File

@ -70,7 +70,7 @@ Try pressing ``A`` or ``B``!
## Step 4
You can also have a secret mode where ``A`` and ``B`` are pressed together.
In that case, add multiple ``||show leds||`` blocks to create an animation...
In that case, add multiple ``||basic:show leds||`` blocks to create an animation...
```blocks
input.onButtonPressed(Button.AB, () => {