content icon indicating copy to clipboard operation
content copied to clipboard

[Prose] Being able to disable prose from md files

Open larbish opened this issue 6 months ago • 2 comments

When complex pages are build with mdc syntax, sometimes we don't want to apply some of prose typography on components. For instance, we don't want a padding to be applied to the p.

Ex with buttons:

Image

We already have the possibility to add prose: false to the content renderer but it could be great to:

  • disable it from the markdown page (prose: false in frontmatter)
  • disable the prose only for some of components:
---
prose:
  exclude: 
    - p
---

larbish avatar Jun 20 '25 11:06 larbish

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Aug 19 '25 11:08 github-actions[bot]

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Oct 21 '25 11:10 github-actions[bot]