mdx笔记
· One min read
docusaurus使用
-
作者与标签 Regular blog authors can be added to
authors.yml
. Regular tags can be added totags.yml
. -
文章放置方法 The blog post date can be extracted from filenames, such as:
2019-05-30-welcome.md
2019-05-30-welcome/index.md
mdx文件支持js语法
Blog posts support Docusaurus Markdown features, such as MDX.
tip
Use the power of React to create interactive blog posts.
<button onClick={() => alert('button clicked!')}>Click me!</button>