# mdx-embed

> Embed 3rd party media content in MDX - no import required

Latest version **1.1.2** (published 2022-10-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install mdx-embed
pnpm add mdx-embed
yarn add mdx-embed
bun add mdx-embed
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2022-10-25 |
| First published | 2020-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 114 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 294 |
| Author | Paul Scanlon |
| Maintainers | pauliescanlon |
| Keywords | mdx, mdx-embed |

## Links

- npm: https://www.npmjs.com/package/mdx-embed
- Repository: https://github.com/PaulieScanlon/mdx-embed
- Homepage: https://github.com/PaulieScanlon/mdx-embed#readme
- Issues: https://github.com/PaulieScanlon/mdx-embed/issues
- npm.io page: https://npm.io/package/mdx-embed

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 1.1.2 (latest) — 2022-10-25
- 1.1.1 — 2022-10-25
- 1.1.0 — 2022-10-25
- 1.0.0 — 2022-02-06
- 0.0.23 — 2022-02-01
- 0.0.22 — 2021-09-29
- 0.0.21 — 2021-09-28
- 0.0.20 — 2021-09-23
- 0.0.19 — 2021-02-11
- 0.0.18 — 2021-02-10
- 0.0.17 — 2020-12-23
- 0.0.16 — 2020-12-10
- 0.0.15 — 2020-11-24
- 0.0.14 — 2020-09-23
- 0.0.13 — 2020-09-11
- … 12 more at https://npm.io/package/mdx-embed/versions

## README

# 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/](https://www.mdx-embed.com/)

## Install

```sh
npm install mdx-embed --save
```

### Setup

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

```javascript
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](https://www.mdx-embed.com/?path=/docs/mdx-embed--page)

---
_Source: https://npm.io/package/mdx-embed · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
