Mdx pages

Mdx pages are module page that accepts the mdx

Example

mdxjs
export function Thing() {
    return <>World</>
}

#
Hello < Thing / >

Syntax

It's a syntax above Markdown page that accepts also JavaScript expressions such as:

  • ESM imports/exports
  • And JS expression {foo}

The full syntax can be found on the mdx website

Features

mdx pages: