nuxt / content

The file-based CMS for your Nuxt application, powered by Markdown and Vue components.
https://content.nuxt.com
MIT License
3.08k stars 624 forks source link

docs: fix incorrect naming & link path in Component/Prose #2513

Closed charlie0228 closed 8 months ago

charlie0228 commented 8 months ago

🔗 Linked issue

❓ Type of change

📚 Description

According to https://github.com/nuxt/content/blob/main/src/module.ts#L343 We replace ProseCode.vue define into ProseCodeInline.vue And using ProsePre.vue to wrap ProseCode.vue

So, if i want to use custom prose component, I have to named ProsePre.vue in order to replace the code block in .md

📝 Checklist

nuxt-studio[bot] commented 8 months ago

Live Preview ready!

Name Edit Preview Latest Commit
Content Edit on Studio ↗︎ View Live Preview bcf63cac9163812e0d7cc6104f175e06cefe6552
charlie0228 commented 8 months ago

I am not sure about this PR https://github.com/nuxt/content/issues/2187. Is there should fix together?