chore(website): add docosaurus as SSG
Some checks failed
Publish package / build_and_publish (push) Failing after 23s
Some checks failed
Publish package / build_and_publish (push) Failing after 23s
This commit is contained in:
parent
d4a11146aa
commit
85660ac08a
50 changed files with 1541 additions and 296 deletions
24
packages/website/blog/2021-08-01-mdx-blog-post.mdx
Normal file
24
packages/website/blog/2021-08-01-mdx-blog-post.mdx
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue