Styling MDX files in a directory
Unanswered
Silky ant posted this in #help-forum
Silky antOP
Hello! I have a simple question. I would like to style all my
I found [this](https://nextjs.org/docs/pages/building-your-application/configuring/mdx#custom-elements) page from the nextjs docs which suggest creating a
Is it possible to do what I'm asking about? It seems like a really elementary question to have but I just can't seem to get it working. Thanks!
/blog/<filename>.mdx files using some basic styles which differ from the rest of my application. It would be nice if I could use regular css to do this but I could not find anything online that did it this way.I found [this](https://nextjs.org/docs/pages/building-your-application/configuring/mdx#custom-elements) page from the nextjs docs which suggest creating a
mdx-components.tsx file in the root of my project, but I was unsuccessful in doing this. My project uses javascript, not typescript, and changing the file type to .jsx (and removing all type annotations of course) results in no change at all to my application styles.Is it possible to do what I'm asking about? It seems like a really elementary question to have but I just can't seem to get it working. Thanks!