Document typo at https://github.com/nuxt-modules/mdc#browser
xiayulu opened this issue · 0 comments
xiayulu commented
const ast = await useAsyncData('markdown', () => parseMarkdown('::alert\nMissing markdown input\n::'))
should be
const {data: ast} = await useAsyncData('markdown', () => parseMarkdown('::alert\nMissing markdown input\n::'))