Markdown Features
Docusaurus supports Markdown and a few additional features.
Front Matter
Markdown documents have metadata at the top called Front Matter:
HTML
my-doc.md
Links
Regular Markdown links are supported, using url paths or relative file paths.
MD
MD
Result: Let's see how to.
Images
Regular Markdown images are supported.
Code Blocks
Markdown code blocks are supported with Syntax highlighting.
MD
src/components/HelloDocusaurus.js
Admonitions
Docusaurus has a special syntax to create admonitions and callouts:
MD
My tip
Use this awesome feature option
Take care
This action is dangerous
MDX and React Components
MDX can make your documentation more interactive and allows using any React components inside Markdown:
JSX
This is Docusaurus green !
This is Facebook blue !