Skip to main content
Skip to main content
Microsoft 365

Now teachers can include live code demo in OneNote

Calling all teachers! We made programming easier to teach with the ability to embed executable code snippets from into OneNote. is a powerful tool that allows teachers to create live executable code examples in the cloud with zero setup time needed. It supports more than 30 major coding languages and more with highly customizable, simple and easy-to-use IDE-like features.

Now, teachers using OneNote can easily put code examples created in into a OneNote notebook as an embedded object with two simple steps:

First, create your code examples in and then copy the Share Link.

Now teachers can include live code demo in OneNote 1

Next, paste the Share Link into a OneNote page. Now, the executable code snippet is part of the lesson plan.

Now teachers can include live code demo in OneNote 2

Feel free to try it out today and don’t forget to send us feedback and ask questions at OneNote UserVoice or tweet us at @msonenote.

—Fanguang Kong, product manager for the OneNote team

You may also like these articles

Image for: Image of a man in an office looking at his phone.

New to Microsoft 365 in September—updates to Microsoft To Do, PowerPoint, OneNote, and more

This month, we’re introducing updates and features designed to help you collaborate more effectively, work more efficiently, and protect your data more proactively.

Image for: Image for Hustle Up! blog post. A woman sits on a couch looking at her laptop.

Hustle Up! Discover Microsoft Store resources for a better side hustle

Announcing Hustle Up! by Microsoft Store—10 questions to identify the best actionable tips and relevant Microsoft 365 resources to empower your pursuit of a side hustle.

Image for: Image of four workers collaborating in a lounge.

New to Microsoft 365 in May—new tools to streamline compliance and make collaboration inclusive and engaging

This month, we’re introducing new tools to help simplify compliance, app updates to boost productivity, and features to foster secure, collaborative user experiences.