As a part of an ongoing effort to overhaul Motoko’s documentation, we wanted to make it easy for anyone in the IC community to create interactive tutorials and code examples across the Internet.
Here is a quick demonstration of how it works:
This feature was made possible by the Embed Motoko code snippet service, which you can use to share interactive Motoko programs on almost any blogging site.
Let us know if you end up using these embeds in a Medium story (or anywhere else)! This tool is under active development, and we are eager to tailor this project to any creative use cases you might discover.
Update: it’s now possible to embed these code snippets directly into this forum!