I've prompted ChatGPT o1 to help me to create a script to convert contentful export to markdown / MDX. I've successfully used this script to migrate the content
The scrpits look the contentful export json and assets in the ´/export folder and migrates to the ´/mdx
folder
Setup the script with some variables: