Loading Markdown

You can import the default export, which will render html and can be used in the jsx.

  ---
import Content from "../content/page-content.md"
---

<Content />
  

You can also get all properties, or just one

  import * as Content from "../content/page-content.md"
import { frontmatter } from "../content/page-content.md"