aboutsummaryrefslogtreecommitdiff
path: root/blog/_2021-08-01-mdx-blog-post.mdx
blob: 39e881ed5c071ecb582cd946bf865bdabe258ee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
slug: mdx-blog-post
title: MDX Blog Post
# authors: [slorber]
tags: [docusaurus]
draft: true
---

Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).

:::tip

Use the power of React to create interactive blog posts.

:::

{/* truncate */}

For example, use JSX to create an interactive button:

```js
<button onClick={() => alert('button clicked!')}>Click me!</button>
```

<button onClick={() => alert('button clicked!')}>Click me!</button>