Skip to content

Commit

Permalink
docs: Add warning about prettier compatibility (#2325)
Browse files Browse the repository at this point in the history
  • Loading branch information
Triloworld committed Sep 20, 2023
1 parent bc9b7c0 commit c7ebd70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/content/3.guide/1.writing/3.mdc.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ MDC stands for MarkDown Components. This syntax supercharges regular Markdown to
Install the [MDC VS Code extension](https://marketplace.visualstudio.com/items?itemName=Nuxt.mdc) to get proper syntax highlighting for your MDC components.
::

::alert{type="warning"}
⚠️ Prettier isn't compatible with MDC and [this module](https://github.com/nuxt/content/issues/1709). Temporary solution is to add `md` and `mdx` files to [ignore file](https://github.com/mdx-js/mdx/blob/main/.prettierignore)
::

## Block Components

Block components are components that accept Markdown content or another component as a slot.
Expand Down

0 comments on commit c7ebd70

Please sign in to comment.