# Custom Blocks + Tutorial Bug - micro:bit Beta 2020

**URL:** https://forum.makecode.com/t/custom-blocks-tutorial-bug-micro-bit-beta-2020/2335
**Category:** micro:bit
**Created:** [June 7, 2020, 2:42pm UTC](https://forum.makecode.com/t/custom-blocks-tutorial-bug-micro-bit-beta-2020/2335 "2020-06-07T14:42:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![DillonB07](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dillonb07/32/946_2.png) [@DillonB07](https://forum.makecode.com/u/DillonB07)
#### Post date: [June 7, 2020, 2:42pm UTC](https://forum.makecode.com/t/custom-blocks-tutorial-bug-micro-bit-beta-2020/2335/1 "2020-06-07T14:42:56Z")

</div>

Hey Microsoft MakeCode for micro:bit developers.

Today, I found a bug in the beta editor. When creating a tutorial in GitHub, you can’t include an extension. Here are two snippets of a tutorial.md file.

Doesn’t include custom blocks.

````
 ## Step 1
 
 Drag the ``||Demo:Love Meter||`` block into the ``||Basic: On Start||`` block. Then look at the simulator. This is what you'll be making. When you've finished drag all the blocks into the category list to delete them.
 
 ```blocks
 
 Demo.LoveMeter
 
 ```

````

Does include custom blocks.

```
## Step 1

Drag the ``||Demo:Love Meter||`` block into the ``||Basic: On Start||`` block. Then look at the simulator. This is what you'll be making. When you've finished drag all the blocks into the category list to delete them.

```

The custom block is only loaded into the tutorial when I don’t include a preview of the blocks. Please can you fix this?

This is a link to the tutorial.

> **[Microsoft MakeCode for micro:bit](https://makecode.microbit.org/beta#tutorial:github:dillonbarnes/love-meter-tutorial/tutorial)**
>
> A Blocks / JavaScript code editor for the micro:bit powered by Microsoft MakeCode.

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [June 8, 2020, 5:05pm UTC](https://forum.makecode.com/t/custom-blocks-tutorial-bug-micro-bit-beta-2020/2335/2 "2020-06-08T17:05:11Z")

</div>

You need to list the packages in the tutorial using the `package` macro. More docs here:

> **[Macros](https://makecode.com/writing-docs/macros#dependencies)**
>
> MakeCode has several custom macros that extend regular markdown. These provide extra style features and code / blocks rendering in the document pages.
