mirror of
https://github.com/rehlds/rehlds.github.io.git
synced 2025-02-07 10:42:16 +03:00
c4c4ced941
* Init Docusaurus * Change base colors to Half-Life style like * replace logo * Change config * index: remove `HomepageFeatures` and rename button * config: add auto color mode * config: fix projectName
25 lines
512 B
Plaintext
25 lines
512 B
Plaintext
---
|
|
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.
|
|
|
|
:::
|
|
|
|
{/* 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>
|