# Embed Motoko: interactive code snippets directly in your Medium story or blog post!

**URL:** <https://forum.dfinity.org/t/embed-motoko-interactive-code-snippets-directly-in-your-medium-story-or-blog-post/17433>\
**Category:** Programs & Applications\
**Created:** [December 15, 2022, 5:00am UTC](https://forum.dfinity.org/t/embed-motoko-interactive-code-snippets-directly-in-your-medium-story-or-blog-post/17433 "2022-12-15T05:00:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rvanasa](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rvanasa/32/23650_2.png) [@rvanasa](https://forum.dfinity.org/u/rvanasa)\
**Post date:** [December 15, 2022, 5:00am UTC](https://forum.dfinity.org/t/embed-motoko-interactive-code-snippets-directly-in-your-medium-story-or-blog-post/17433/1 "2022-12-15T05:00:15Z")

</div>

Hello everyone!

We are excited to announce a new collaboration which brings runnable [Motoko code snippets](https://embed.smartcontracts.org/) directly into the [Medium](https://medium.com/) social publishing platform.

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:

> **[Embed Motoko: interactive smart contracts in your Medium story or blog post!](https://levelup.gitconnected.com/embed-motoko-interactive-smart-contracts-in-your-medium-story-or-blog-post-58c85719eee6)**
>
> If you enjoy reading or writing code tutorials, you’re in luck:

This feature was made possible by the [Embed Motoko](https://embed.smartcontracts.org/) code snippet service, which you can use to share interactive Motoko programs on almost any blogging site.

Embed Motoko is an open-source project, so feel free to [report a bug](https://github.com/dfinity/embed-motoko/issues) or [open a pull request](https://github.com/dfinity/embed-motoko/pulls) on GitHub:

> **[GitHub - dfinity/embed-motoko: Embed a custom Motoko code snippet in a Medium...](https://github.com/dfinity/embed-motoko)**
>
> Embed a custom Motoko code snippet in a Medium article, blog post, or webapp. - GitHub - dfinity/embed-motoko: Embed a custom Motoko code snippet in a Medium article, blog post, or webapp.

Let us know if you end up using these embeds in a Medium story ([or anywhere else](https://colab.research.google.com/drive/1NydVLV0k7sDPhKs8Owa8sKEtZ8F0Us4K?usp=sharing))! 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!

https://embed.smartcontracts.org/motoko/g/CefqDkT9Ua6wMdpQr8oCpw7yrZYgN9E3vBCix5UDkpPQkafzTqdP8hbBJDrFbiuzrzdzhwX4LJYB3LJL3TrhPW2ENaaqSHMRNZZTeFCd?lines=4

Cheers!

~ Ryan
