I have nextjs project with below versions
"@mdx-js/loader": "^2.1.5",
"@mdx-js/react": "^2.1.5",
"@next/mdx": "^12.1.6",
"next": "^12.1.6",
I have one react component and using it in .mdx file with some text as below
<CustomReactComponent/>, you can....
but in output text not coming under <p>
tag and not following proper indentation.