We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1d6bd4c + 397786b commit 1fc38ceCopy full SHA for 1fc38ce
README.md
@@ -49,11 +49,11 @@ import { compile } from '@mdx-js/mdx'
49
import remarkFrontmatter from 'remark-frontmatter'
50
import remarkMdxFrontmatter from 'remark-mdx-frontmatter'
51
52
-const { contents } = await compile(await readFile('example.mdx'), {
+const { value } = await compile(await readFile('example.mdx'), {
53
jsx: true,
54
remarkPlugins: [remarkFrontmatter, remarkMdxFrontmatter]
55
})
56
-console.log(contents)
+console.log(value)
57
```
58
59
Roughly yields:
0 commit comments