diff options
Diffstat (limited to 'blog/2021-08-01-mdx-blog-post.mdx')
-rw-r--r-- | blog/2021-08-01-mdx-blog-post.mdx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/blog/2021-08-01-mdx-blog-post.mdx b/blog/2021-08-01-mdx-blog-post.mdx new file mode 100644 index 00000000..c04ebe32 --- /dev/null +++ b/blog/2021-08-01-mdx-blog-post.mdx @@ -0,0 +1,20 @@ +--- +slug: mdx-blog-post +title: MDX Blog Post +authors: [slorber] +tags: [docusaurus] +--- + +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. + +```js +<button onClick={() => alert('button clicked!')}>Click me!</button> +``` + +<button onClick={() => alert('button clicked!')}>Click me!</button> + +::: |