mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 04:12:53 +02:00
* initial create-docusaurus impl * cleanup * @docusaurus/init renamed to create-docusaurus * 0.0.6 * update lockfile * fix lint * remove npm2yarn for "npm init" because npm2yarn doesn't convert it and yarn result fails to execute * prettier * add correct version * prettier * prettier * prettier * prettier * fix annoying --config .prettierrc issue
20 lines
439 B
Text
Vendored
20 lines
439 B
Text
Vendored
---
|
|
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>
|
|
|
|
:::
|