Turns out I had a typo that imported md files instead of mdx, I still want to know how to properly import stuff in MDX using content collections
md
mdx