A snippet demonstrating how to import markdown in other MDX or JS files. In MDX, import statements must be inserted in the beginning, right after the frontmatter

import Chart from 'content/snippets/main/chart'

........

<Chart/>