2.0.1 • Published 12 months ago

mdx-embed2 v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

MDX Embed

MDX Embed allows you to easily embed popular 3rd party media content such as YouTube videos, Tweets, Instagram posts and many more straight into your .mdx - no import required!

https://mdx-embed.netlify.app/

Install

npm install mdx-embed --save

Setup

Wrap your application with the MDXEmbedProvider and allow your MDX to render all of the provided components.

import React from 'react';
import { MDXEmbedProvider } from 'mdx-embed';

export default (props) => <MDXEmbedProvider>{props.children}</MDXEmbedProvider>;

For more information about how to install the package please see the docs

2.0.1

12 months ago

2.0.0

12 months ago