---
title: Example Post
description: This frontmatter description will appear below the title
---

This is an example post, with a [link](https://nextjs.org) and a React component:

<TestComponent name="next-mdx-remote" />



# Hello, world!

```js
import React from 'react'
import Example from './place'

export default () => <Example />
```

```js render=true
<div
  style={{backgroundColor: 'rebeccapurple', padding: '20px', marginTop: '20px'}}
/>
```

```js live=true
<p>
	<div style={{backgroundColor: 'tomato', padding: '20px'}} />
</p>
```

```js live=true
<Button/>
```

```js live=true
<Dante
  //content={demo}
	data_storage={{
	url: '/save_path',
	method: 'POST'
	}}
	/*xhr={
		{
			before_handler: function(){ alert('this is the before ajax handler') },
			failure_handler: function(error){ alert('this is the error ajax handler') },
		}
	} */
/>
```

The title and description are pulled from the MDX file and processed using `gray-matter`. Additionally, links are rendered using a custom component passed to `next-mdx-remote`.

Go back [home](/).
