---
id: mdx
title: Powered by MDX
---
You can write JSX and use React components within your Markdown thanks to [MDX](https://mdxjs.com/).
The `.mdx` extension is not required, but will enable better support from tooling (IDE, Prettier...).
export const Highlight = ({children, color}) => (
alert('Highlight pressed!')}>
{children}
);
Docusaurus green and
Facebook blue
are my favorite colors.
I can write **Markdown** alongside my _JSX_!