mdx-embed
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

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.com/

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

Dependencies (0)

    Dev Dependencies (33)

    Package Sidebar

    Install

    npm i mdx-embed

    Weekly Downloads

    5,598

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    117 kB

    Total Files

    157

    Last publish

    Collaborators

    • pauliescanlon