Kitchen Sink
This page demonstrates the unique features found in Docusaurus. It also supports the normal set of Markdown features.
Tabs
- Apple
- Orange
- Banana
This is an apple 🍎
This is an orange 🍊
This is a banana 🍌
Code
main.js
// Javascript code with syntax highlighting.
function greeting() {
console.log("Hello World");
}
Highlight line
main.js
// Javascript code with syntax highlighting.
function greeting() {
console.log("Hello World");
}
Highlight section
main.js
// Javascript code with syntax highlighting.
function greeting() {
console.log("Hello World");
}
Show line numbers
main.js
// Javascript code with syntax highlighting.
function greeting() {
console.log("Hello World");
}
Change starting line number
main.js
// Javascript code with syntax highlighting.
function greeting() {
console.log("Hello World");
}
Highlight lines (alternate syntax)
main.js
// Javascript code with syntax highlighting.
function greeting() {
console.log("Hello World");
}
Admonitions
note
Some content with Markdown syntax
. Check this api
.
Your Custom Title with some Markdown
syntax
!Some content with some Markdown syntax
.
MDX and React
Docusaurus green and Facebook blue are my favorite colors.