diff --git a/www/packages/remark-rehype-plugins/src/constants.ts b/www/packages/remark-rehype-plugins/src/constants.ts index 934cda4618..f7ce4a6d86 100644 --- a/www/packages/remark-rehype-plugins/src/constants.ts +++ b/www/packages/remark-rehype-plugins/src/constants.ts @@ -1 +1,2 @@ -export const MD_LINK_REGEX = /\[(.*?)\]\((?(![a-z]+!|\.).*?)\)/gm +export const MD_LINK_REGEX = + /\[(.*?)\]\((?(![a-z]+!|\.|page\.mdx).*?)\)/gm