-
-
Notifications
You must be signed in to change notification settings - Fork 726
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Would it be possible to handle per-page prose components?
Right now prose components can only be selected at top level, but I'm pretty sure being able to configure it at page-level or from content renderer would be amazing! :)
It should be finely typed so we get autocomplete on tags list.
Some usage:
// page.md
---
prose:
a: ProseACustom
---// Any component
// `a` would be suggested by TS
<ContentRender :prose="{ a: 'ProseACustom' }" />// nuxt.config.ts
{
content: {
prose: {
// `a` would be suggested by TS
a: 'ProseACustom'
}
}
}farnabaz, ManasMadrecha and firirice
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request