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

MDX example

On this page

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

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