is not replaced with nextjs custom element defined in useMDXComponents
After reading the fantastic article about having mdx in nextjs I tried to implement the same approach in my nextjs 14 app, and also using the official instructions for custom elements to reformat some tags in my mdx files.