We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app.vue
<template> <div> <nuxt-link to="/">Home</nuxt-link> <br /> <nuxt-link href="/article">Article</nuxt-link> <NuxtPage /> </div> </template>
/pages/article
<template> <section class="article"> <!-- <MDC :value="`# heading 1`" tag="article" />--> <! -- not work --> <MDCRenderer :data="ast?.data" :body="ast?.body" /> </section> </template> <script lang="ts" setup> import { parseMarkdown } from '@nuxtjs/mdc/runtime' const props = defineProps({ content: { type: String, required: true }, }) const { data: ast } = await useAsyncData('markdown', () => parseMarkdown(`# heading 1`)) console.log('AST: ', ast) // returns null on Safari for iOS 16 </script>
Client side: click to article page,returns null on Safari for iOS 16 and below
The text was updated successfully, but these errors were encountered:
Unfortunately, I don't have access to iOS 16 to reproduce it.
Do you have ay error log in the console? What error do you get in asyndata?
const { data: last, error } = await useAsyncData('markdown', () => parseMarkdown(`# heading 1`)) console.log(error)
Sorry, something went wrong.
Thanks for your help!
I got this error: Error: Invalid regular expression: invalid group specifier name
Error: Invalid regular expression: invalid group specifier name
I guess some regex patterns of MDC are not supported on Safari for iOS 16 and below.
regex
Looking forward to your reply.
Thank you again!
No branches or pull requests
app.vue
/pages/article
Client side: click to article page,returns null on Safari for iOS 16 and below
The text was updated successfully, but these errors were encountered: