Medium editor supports embedding content from third-party services, such as Twitter, Github gists, and more.
- While editing your story, go to a new line and paste the URL of the content you want to embed.
For example, to embed a Tweet, paste in the direct URL of that Tweet. Your link needs to start with "https://" or "http://". - Press Enter to convert that link into an embed. Your embed will become interactive once you publish your story.
If the service you're embedding content from is supported on Medium, the link will change into an embed. If the service is not supported, the editor will convert the link into a preview card instead.
Embedding with the embed code is not supported. To embed content on Medium, all you need is the URL.
Supported embed providers
Embeds on Medium are handled through Embed.ly, a dedicated embedding service. Embedly keeps a list of currently over 300 supported embed providers, which have been directly integrated with the Embedly service. Content from those services can be embedded on Medium.
Frequently asked questions
Here are a selection of useful and popular third-party embeds on Medium.
- Gifs: Imgur, Gfycat, Giphy
- Email sign-up forms: Upscribe
- Code tutorials and examples: Github Gists, Codepen.io, JSfiddle
- Audio & podcast: Soundcloud, Anchor.fm, RadioPublic, and bumpers.fm
- Data visualization: graphiq.com, chartblocks.com, infogr.am
- Equations: embed.fun
- Tables: Airtable
- Selling products: gumroad.com
- Docs: Google Drive, Scribd, Slideshare
- Polls & surveys: Wedgies.com, Google Forms
- Presentations: Slideshare, Prezi.
Medium does not allow users to insert and run scripts into the site for security and privacy reasons.
You can however embed example code blocks or snippets on your posts for discussion purposes. For embedding with syntax highlighting, try Github Gists, Codepen.io, or JSfiddle.
Embedly adds new supported providers on a regular basis. There is no cost to becoming a supported provider on Embedly—and if you do, your embedded content should also work on Medium.
Please see Embedly's new provider page for more information, and to get in contact with technical staff who can help you get your embeds to work on sites supported by Embedly, such as Medium.