Skip to content

Commit fa79757

Browse files
committed
nit: remove "if you understand this diff"
1 parent 84d78e0 commit fa79757

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/integrations/mdx/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,9 @@ const { frontmatter, url } = Astro.props;
225225

226226
You can also add type safety using [the `Props` type](/en/guides/typescript/#component-props) with the `MDXLayoutProps` helper.
227227

228-
_**Note:** `MDXLayoutProps` is the same as the `MarkdownLayoutProps` utility type, with `rawContent()` and `compiledContent()` removed (since these are not available for `.mdx` files). If you understand this difference, feel free to use `MarkdownLayoutProps` instead when sharing a layout across `.md` and `.mdx` files._
228+
:::note
229+
`MDXLayoutProps` is the same as the `MarkdownLayoutProps` utility type with `rawContent()` and `compiledContent()` removed (since these are not available for `.mdx` files). Feel free to **use `MarkdownLayoutProps` instead** when sharing a layout across `.md` and `.mdx` files.
230+
:::
229231

230232
```astro ins={2,4-9}
231233
---

0 commit comments

Comments
 (0)