You can show different views of a published microbit project in the code view, editor or simulator (links to more example embeds)
Glow blogs uses a special shortcode to show the code:
[glowmicrobit url="_MicrobitCode" code] where _MicrobitCode is the last slug of the url. To get the code you need to:
- Share your microbit project,
- Publish it
- copy the url for example: https://makecode.microbit.org/_gww1kCPdL5od
- use the last section in the glowmicrobit shortcode: [glowmicrobit url="_gww1kCPdL5od" simulator] adding simulator, code or editor depending on which url you want to show.
Here is what you will get:
[glowmicrobit url="_gww1kCPdL5od" simulator] gives:
[glowmicrobit url="_gww1kCPdL5od" editor] gives:
NB there is a problem with the micro:bit embed code for the editor. We are awaiting a fix from micro:bit.
[glowmicrobit url="_gww1kCPdL5od" code] gives: