# @mdx-js/runtime

Deprecated: this package is no longer maintained.

You can use [`@mdx-js/mdx`](https://mdxjs.com/packages/mdx/#evaluatefile-options)
itself to compile *and* run:

```jsx
import {evaluate} from '@mdx-js/mdx'
import * as runtime from 'react/jsx-runtime'

const components = {
  h1: props => <h1 style={{color: 'tomato'}} {...props} />
}

const document = `
# Hello, world!
`

const {default: Content} = await evaluate(document, runtime)

console.log(<Content components={components} />)
```
