Skip to content

Embed a custom Motoko code snippet in a Medium article, blog post, or webapp.

Notifications You must be signed in to change notification settings

dfinity/embed-motoko

Repository files navigation

Embed interactive Motoko code snippets in your Medium article or website.


Medium Articles

Paste the following link into your Medium article:

https://embed.motoko.org

Customize your code snippet by heading to embed.motoko.org and using the "Copy embed snippet" button.

Websites & Blogs

Paste the following HTML tag into your website:

<iframe
    src="https://embed.motoko.org"
    width="100%"
    height="500"
    style="border:0"
    title="Code snippet"
/>

Contributing

# Set up your local environment
git clone https://github.com/rvanasa/embed-motoko
cd embed-motoko
npm install

# Run the development server
npm start

# Run tests
npm test