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>
Blog posts support Docusaurus Markdown features, such as MDX.
Use the power of React to create interactive blog posts.
<button onClick={() => alert('button clicked!')}>Click me!</button>
Docusaurus blogging features are powered by the blog plugin.
Simply add Markdown files (or folders) to the blog
directory.
Regular blog authors can be added to authors.yml
.
The blog post date can be extracted from filenames, such as:
2019-05-30-welcome.md
2019-05-30-welcome/index.md
A blog post folder can be convenient to co-locate blog post images:
The blog supports tags as well!
And if you don't want a blog: just delete this directory, and use blog: false
in your Docusaurus config.
This is the summary of a very long blog post,
Use a <!--
truncate
-->
comment to limit blog post size in the list view.