/
๐Ÿ‘ฉโ€๐Ÿš€

MDX example

mdx
On this page
  • React component
  • iframe

This example uses MDX..

React component

jsx
import { Button } from 'theme-ui'
;<Button onClick={() => alert('You clicked me')}>Click me</Button>

JSX

This is JSX
jsx
<div style={{ padding: '20px', backgroundColor: 'tomato', fontSize: '30px' }}>
This is JSX
</div>

iframe

Edit this page
Want to make your own site like this?
Try gatsby-theme-code-notes by Zander Martineau.
logo
A Gatsby theme for storing your code-related notes