From 6a226f710e13eed2407f893d8ea296938c340091 Mon Sep 17 00:00:00 2001 From: Adam Jones Date: Wed, 18 Jan 2023 16:20:52 +0000 Subject: [PATCH 1/3] Add recma-mdx-displayname-plugin Have added it as it specifically works with MDX (as per line 96). Have inserted it alpha sorted on project name (as per line 88). --- docs/docs/extending-mdx.server.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs/extending-mdx.server.mdx b/docs/docs/extending-mdx.server.mdx index cbece51e2..6c99a6336 100644 --- a/docs/docs/extending-mdx.server.mdx +++ b/docs/docs/extending-mdx.server.mdx @@ -5,7 +5,7 @@ export const info = { {name: 'Titus Wormer', github: 'wooorm', twitter: 'wooorm'} ], published: new Date('2021-10-06'), - modified: new Date('2021-11-01') + modified: new Date('2023-01-18') } # Extending MDX @@ -68,6 +68,8 @@ You can use this template: See also the [list of remark plugins][remark-plugins] and [list of rehype plugins][rehype-plugins]. +* [`domdomegg/recma-mdx-displayname-plugin`](https://github.com/domdomegg/recma-mdx-displayname-plugin) + — add a `displayName` to MDXContent elements, to enable switching on them in production * [`remcohaszing/recma-nextjs-static-props`](https://github.com/remcohaszing/recma-nextjs-static-props) — generate [`getStaticProps`](https://nextjs.org/docs/basic-features/data-fetching/get-static-props) exposing top level identifiers in Next.js From fdd82718bcac79a8d48f1962510a7cf86c87fb94 Mon Sep 17 00:00:00 2001 From: Adam Jones Date: Thu, 19 Jan 2023 15:17:35 +0000 Subject: [PATCH 2/3] Update plugin name --- docs/docs/extending-mdx.server.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/docs/extending-mdx.server.mdx b/docs/docs/extending-mdx.server.mdx index 6c99a6336..e82c65630 100644 --- a/docs/docs/extending-mdx.server.mdx +++ b/docs/docs/extending-mdx.server.mdx @@ -68,8 +68,9 @@ You can use this template: See also the [list of remark plugins][remark-plugins] and [list of rehype plugins][rehype-plugins]. -* [`domdomegg/recma-mdx-displayname-plugin`](https://github.com/domdomegg/recma-mdx-displayname-plugin) - — add a `displayName` to MDXContent elements, to enable switching on them in production +* [`domdomegg/recma-mdx-displayname`](https://github.com/domdomegg/recma-mdx-displayname) + — add a `displayName` to MDXContent elements, to enable switching + on them in production * [`remcohaszing/recma-nextjs-static-props`](https://github.com/remcohaszing/recma-nextjs-static-props) — generate [`getStaticProps`](https://nextjs.org/docs/basic-features/data-fetching/get-static-props) exposing top level identifiers in Next.js From 25763b18f0a7f20514a460632edec2d4b9208c56 Mon Sep 17 00:00:00 2001 From: Adam Jones Date: Thu, 19 Jan 2023 18:22:54 +0000 Subject: [PATCH 3/3] Apply suggestions from code review Co-authored-by: Titus --- docs/docs/extending-mdx.server.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/extending-mdx.server.mdx b/docs/docs/extending-mdx.server.mdx index e82c65630..f53b664d3 100644 --- a/docs/docs/extending-mdx.server.mdx +++ b/docs/docs/extending-mdx.server.mdx @@ -69,7 +69,7 @@ See also the [list of remark plugins][remark-plugins] and [list of rehype plugins][rehype-plugins]. * [`domdomegg/recma-mdx-displayname`](https://github.com/domdomegg/recma-mdx-displayname) - — add a `displayName` to MDXContent elements, to enable switching + — add a `displayName` to `MDXContent` components, to enable switching on them in production * [`remcohaszing/recma-nextjs-static-props`](https://github.com/remcohaszing/recma-nextjs-static-props) — generate [`getStaticProps`](https://nextjs.org/docs/basic-features/data-fetching/get-static-props)