From 8827690ad21913e50d11c5a8778337e47508330a Mon Sep 17 00:00:00 2001 From: Aydin Date: Tue, 16 Dec 2025 14:01:56 +0600 Subject: [PATCH 1/2] Update customization instructions for prose components Clarify instructions for customizing components in README. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 20050d29..0bf1da7c 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ export default defineNuxtConfig({ }) ``` -In order to customize these components yourself simply make a component with the same name of the prose component you are trying to take control over. Make sure to put these prose components in their own prose folder and tell nuxt to globally register them so that MDC can get proper access. +In order to customize these components yourself simply make a component with the same name of the prose component you are trying to take control over. Make sure to put these prose components in their own prose folder and tell nuxt to globally register or simple create in `prose` folder `P.global.vue` them so that MDC can get proper access. ```ts export default defineNuxtConfig({ From 0047b477876208069ba07fc662bb9104ffad203d Mon Sep 17 00:00:00 2001 From: Aydin Date: Tue, 16 Dec 2025 14:04:34 +0600 Subject: [PATCH 2/2] Add comment for global MyCustomPComponent usage --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0bf1da7c..a95d6b10 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ export default defineNuxtConfig({ components: { prose: false, // Disable predefined prose components map: { - p: 'MyCustomPComponent' + p: 'MyCustomPComponent' // add global like MyCustomPComponent.global.vue } } }