nuxt-modules/mdc

Document typo at https://github.com/nuxt-modules/mdc#browser

xiayulu opened this issue · 0 comments

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::'))